File tree 2 files changed +4
-3
lines changed
2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -940,7 +940,7 @@ mod test {
940
940
instance_watcher: InstanceWatcherConfig {
941
941
period_secs: Duration :: from_secs( 30 ) ,
942
942
} ,
943
- instance_watcher : InstanceWatcherConfig {
943
+ instance_updater : InstanceUpdaterConfig {
944
944
period_secs: Duration :: from_secs( 30 ) ,
945
945
} ,
946
946
service_firewall_propagation:
Original file line number Diff line number Diff line change @@ -14,6 +14,7 @@ use super::dns_propagation;
14
14
use super :: dns_servers;
15
15
use super :: external_endpoints;
16
16
use super :: instance_watcher;
17
+ use super :: instance_updater;
17
18
use super :: inventory_collection;
18
19
use super :: metrics_producer_gc;
19
20
use super :: nat_cleanup;
@@ -398,7 +399,7 @@ impl BackgroundTasks {
398
399
} ;
399
400
400
401
let task_instance_updater = {
401
- let watcher = instance_updater:: InstanceUpdater :: new (
402
+ let updater = instance_updater:: InstanceUpdater :: new (
402
403
datastore. clone ( ) ,
403
404
saga_request. clone ( ) ,
404
405
) ;
@@ -407,7 +408,7 @@ impl BackgroundTasks {
407
408
"detects if instances require update sagas and schedules them"
408
409
. to_string ( ) ,
409
410
config. instance_updater . period_secs ,
410
- Box :: new ( watcher ) ,
411
+ Box :: new ( updater ) ,
411
412
opctx. child ( BTreeMap :: new ( ) ) ,
412
413
vec ! [ ] ,
413
414
)
You can’t perform that action at this time.
0 commit comments