Просмотр исходного кода

return same error with more context

Mohammed Nafees 4 лет назад
Родитель
Сommit
bf0e8e6da4
1 измененных файлов с 2 добавлено и 2 удалено
  1. 2 2
      internal/helm/agent.go

+ 2 - 2
internal/helm/agent.go

@@ -255,8 +255,8 @@ func (a *Agent) UpgradeReleaseByValues(
 
 					return res, nil
 				} else {
-					// return the error with a more detailed message, something like this:
-					return nil, fmt.Errorf("another operation (install/upgrade/rollback) is in progress. If this error persists, please wait 60 seconds to force an upgrade")
+					// ask the user to wait for about a minute before retrying for the above fix to kick in
+					return nil, fmt.Errorf("another operation (install/upgrade/rollback) is in progress. If this error persists, please wait for 60 seconds to force an upgrade")
 				}
 			}
 		}