File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -918,7 +918,7 @@ mod test {
918
918
instance_watcher: InstanceWatcherConfig {
919
919
period_secs: Duration :: from_secs( 30 ) ,
920
920
} ,
921
- instance_watcher : InstanceWatcherConfig {
921
+ instance_updater : InstanceUpdaterConfig {
922
922
period_secs: Duration :: from_secs( 30 ) ,
923
923
} ,
924
924
service_firewall_propagation:
Original file line number Diff line number Diff line change @@ -13,6 +13,7 @@ use super::dns_propagation;
13
13
use super :: dns_servers;
14
14
use super :: external_endpoints;
15
15
use super :: instance_watcher;
16
+ use super :: instance_updater;
16
17
use super :: inventory_collection;
17
18
use super :: metrics_producer_gc;
18
19
use super :: nat_cleanup;
@@ -373,7 +374,7 @@ impl BackgroundTasks {
373
374
} ;
374
375
375
376
let task_instance_updater = {
376
- let watcher = instance_updater:: InstanceUpdater :: new (
377
+ let updater = instance_updater:: InstanceUpdater :: new (
377
378
datastore. clone ( ) ,
378
379
saga_request. clone ( ) ,
379
380
) ;
@@ -382,7 +383,7 @@ impl BackgroundTasks {
382
383
"detects if instances require update sagas and schedules them"
383
384
. to_string ( ) ,
384
385
config. instance_updater . period_secs ,
385
- Box :: new ( watcher ) ,
386
+ Box :: new ( updater ) ,
386
387
opctx. child ( BTreeMap :: new ( ) ) ,
387
388
vec ! [ ] ,
388
389
)
You can’t perform that action at this time.
0 commit comments