Browse Source

return same error with more context

Mohammed Nafees 4 years ago
parent
commit
bf0e8e6da4
1 changed files with 2 additions and 2 deletions
  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")
 				}
 			}
 		}