瀏覽代碼

return same error with more context

Mohammed Nafees 4 年之前
父節點
當前提交
99fc44adaa
共有 1 個文件被更改,包括 3 次插入3 次删除
  1. 3 3
      internal/helm/agent.go

+ 3 - 3
internal/helm/agent.go

@@ -255,9 +255,9 @@ 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")
-				  }
+					// 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")
+				}
 			}
 		}