Skip to content

Commit 82d71cd

Browse files
committed
whoops
1 parent 7a85002 commit 82d71cd

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

nexus-config/src/nexus_config.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -918,7 +918,7 @@ mod test {
918918
instance_watcher: InstanceWatcherConfig {
919919
period_secs: Duration::from_secs(30),
920920
},
921-
instance_watcher: InstanceWatcherConfig {
921+
instance_updater: InstanceUpdaterConfig {
922922
period_secs: Duration::from_secs(30),
923923
},
924924
service_firewall_propagation:

nexus/src/app/background/init.rs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ use super::dns_propagation;
1313
use super::dns_servers;
1414
use super::external_endpoints;
1515
use super::instance_watcher;
16+
use super::instance_updater;
1617
use super::inventory_collection;
1718
use super::metrics_producer_gc;
1819
use super::nat_cleanup;
@@ -373,7 +374,7 @@ impl BackgroundTasks {
373374
};
374375

375376
let task_instance_updater = {
376-
let watcher = instance_updater::InstanceUpdater::new(
377+
let updater = instance_updater::InstanceUpdater::new(
377378
datastore.clone(),
378379
saga_request.clone(),
379380
);
@@ -382,7 +383,7 @@ impl BackgroundTasks {
382383
"detects if instances require update sagas and schedules them"
383384
.to_string(),
384385
config.instance_updater.period_secs,
385-
Box::new(watcher),
386+
Box::new(updater),
386387
opctx.child(BTreeMap::new()),
387388
vec![],
388389
)

0 commit comments

Comments
 (0)