Skip to content

Commit

Permalink
Fix cross mirror kv test
Browse files Browse the repository at this point in the history
Signed-off-by: Tomasz Pietrek <[email protected]>
  • Loading branch information
Jarema committed Dec 27, 2024
1 parent 5f52449 commit b0da427
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions async-nats/tests/kv_tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ mod kv {
use async_nats::{
jetstream::{
kv::Operation,
stream::{self, DiscardPolicy, Republish, Source, StorageType},
stream::{self, DiscardPolicy, External, Republish, Source, StorageType},
},
ConnectOptions,
};
Expand Down Expand Up @@ -1008,7 +1008,10 @@ mod kv {
bucket: "MIRROR".into(),
mirror: Some(Source {
name: "TEST".into(),
domain: Some("HUB".into()),
external: Some(External {
api_prefix: "$JS.HUB.API".into(),
..Default::default()
}),
..Default::default()
}),
..Default::default()
Expand Down

0 comments on commit b0da427

Please sign in to comment.