From d30052176be30b82c1587a6c541bd97142e9367a Mon Sep 17 00:00:00 2001 From: Dan Ballard Date: Fri, 17 Dec 2021 19:56:38 -0500 Subject: [PATCH] pass along storage migration messages --- utils/eventHandler.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/utils/eventHandler.go b/utils/eventHandler.go index 2255668..758a150 100644 --- a/utils/eventHandler.go +++ b/utils/eventHandler.go @@ -48,6 +48,8 @@ func (eh *EventHandler) HandleApp(application app.Application) { application.GetPrimaryBus().Subscribe(servers.ServerIntentUpdate, eh.appBusQueue) application.GetPrimaryBus().Subscribe(servers.ServerDeleted, eh.appBusQueue) application.GetPrimaryBus().Subscribe(servers.ServerStatsUpdate, eh.appBusQueue) + application.GetPrimaryBus().Subscribe(event.StartingStorageMiragtion, eh.appBusQueue) + application.GetPrimaryBus().Subscribe(event.DoneStorageMigration, eh.appBusQueue) } func (eh *EventHandler) GetNextEvent() string {