Skip to content

Commit

Permalink
fix: update Yggdrasil (#300)
Browse files Browse the repository at this point in the history
Previously, yggdrasil returned a disabled variant if the strategy
variants representation came back as an empty list instead of null.
With Yggdrasil 0.6 this is now fixed.
  • Loading branch information
Christopher Kolstad authored Oct 10, 2023
1 parent a99070d commit 9b6a890
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 10 deletions.
24 changes: 17 additions & 7 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 3 additions & 2 deletions server/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ tracing = {version = "0.1.37", features = ["log"]}
tracing-subscriber = {version = "0.3.17", features = ["json", "env-filter"]}
ulid = "1.1.0"
unleash-types = { version = "0.10", features = ["openapi", "hashes"]}
unleash-yggdrasil = { version = "0.5.9" }
unleash-yggdrasil = { version = "0.6.0" }
utoipa = {version = "3", features = ["actix_extras", "chrono"]}
utoipa-swagger-ui = {version = "3", features = ["actix-web"]}
[dev-dependencies]
Expand All @@ -64,7 +64,8 @@ env_logger = "0.10.0"
maplit = "1.0.2"
rand = "0.8.5"
test-case = "3.2.1"
testcontainers = "0.14.0"
testcontainers = "0.15.0"
testcontainers-modules = { version = "0.1.2", features = ["redis"]}
tracing-test = "0.2.4"

[build-dependencies]
Expand Down
3 changes: 2 additions & 1 deletion server/tests/redis_test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ use std::str::FromStr;
use actix_web::http::header::EntityTag;
use chrono::Utc;
use redis::Client;
use testcontainers::{clients::Cli, images::redis::Redis, Container};
use testcontainers::{clients::Cli, Container};
use testcontainers_modules::redis::Redis;

use unleash_edge::{
persistence::{redis::RedisPersister, EdgePersistence},
Expand Down

0 comments on commit 9b6a890

Please sign in to comment.