Skip to content

Commit 0af2d55

Browse files
committed
Use the new after_update_endpoints callback for RefreshWorker
Restart the RefreshWorker after endpoints are updated
1 parent 84e6290 commit 0af2d55

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

app/models/manageiq/providers/vmware/infra_manager.rb

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -350,6 +350,11 @@ def after_update_authentication
350350
stop_refresh_worker_queue_on_credential_change
351351
end
352352

353+
def after_update_endpoints
354+
super
355+
stop_refresh_worker_queue_on_change
356+
end
357+
353358
def self.event_monitor_class
354359
self::EventCatcher
355360
end

0 commit comments

Comments
 (0)