From 6b2aa53cdd1add202d807e60add50fddb1a2ad64 Mon Sep 17 00:00:00 2001 From: Derek Su Date: Thu, 5 Dec 2024 10:52:49 +0800 Subject: [PATCH] WIP Signed-off-by: Derek Su --- controller/monitor/upgrade_manager_monitor.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/controller/monitor/upgrade_manager_monitor.go b/controller/monitor/upgrade_manager_monitor.go index baada79176..5caf63d616 100644 --- a/controller/monitor/upgrade_manager_monitor.go +++ b/controller/monitor/upgrade_manager_monitor.go @@ -171,10 +171,10 @@ func (m *DataEngineUpgradeManagerMonitor) handleUpgradeStateUndefined(upgradeMan m.upgradeManagerStatus.State = longhorn.UpgradeStateInitializing m.upgradeManagerStatus.InstanceManagerImage = defaultInstanceManagerImage - err = m.checkInstanceManagerImageReady(upgradeManager, defaultInstanceManagerImage) - if err != nil { - err = errors.Wrapf(err, "failed to check instance manager image %v ready", defaultInstanceManagerImage) - } + // err = m.checkInstanceManagerImageReady(upgradeManager, defaultInstanceManagerImage) + // if err != nil { + // err = errors.Wrapf(err, "failed to check instance manager image %v ready", defaultInstanceManagerImage) + // } } func (m *DataEngineUpgradeManagerMonitor) checkInstanceManagerImageReady(upgradeManager *longhorn.DataEngineUpgradeManager, defaultInstanceManagerImage string) (err error) {