Skip to content

Commit fd83d9a

Browse files
committed
whoops
1 parent 6fd8ed6 commit fd83d9a

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
@@ -940,7 +940,7 @@ mod test {
940940
instance_watcher: InstanceWatcherConfig {
941941
period_secs: Duration::from_secs(30),
942942
},
943-
instance_watcher: InstanceWatcherConfig {
943+
instance_updater: InstanceUpdaterConfig {
944944
period_secs: Duration::from_secs(30),
945945
},
946946
service_firewall_propagation:

nexus/src/app/background/init.rs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ use super::dns_propagation;
1414
use super::dns_servers;
1515
use super::external_endpoints;
1616
use super::instance_watcher;
17+
use super::instance_updater;
1718
use super::inventory_collection;
1819
use super::metrics_producer_gc;
1920
use super::nat_cleanup;
@@ -398,7 +399,7 @@ impl BackgroundTasks {
398399
};
399400

400401
let task_instance_updater = {
401-
let watcher = instance_updater::InstanceUpdater::new(
402+
let updater = instance_updater::InstanceUpdater::new(
402403
datastore.clone(),
403404
saga_request.clone(),
404405
);
@@ -407,7 +408,7 @@ impl BackgroundTasks {
407408
"detects if instances require update sagas and schedules them"
408409
.to_string(),
409410
config.instance_updater.period_secs,
410-
Box::new(watcher),
411+
Box::new(updater),
411412
opctx.child(BTreeMap::new()),
412413
vec![],
413414
)

0 commit comments

Comments
 (0)