Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
Signed-off-by: Derek Su <[email protected]>
  • Loading branch information
derekbit committed Dec 5, 2024
1 parent bde590f commit 6b2aa53
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions controller/monitor/upgrade_manager_monitor.go
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 6b2aa53

Please sign in to comment.