diff --git a/api/openapi-spec/swagger.json b/api/openapi-spec/swagger.json index 3f1b2300c7de..73268e9ff4e4 100644 --- a/api/openapi-spec/swagger.json +++ b/api/openapi-spec/swagger.json @@ -2,7 +2,7 @@ "swagger": "2.0", "info": { "title": "Argo", - "version": "v2.4.2" + "version": "v2.4.3" }, "paths": {}, "definitions": { diff --git a/errors/errors.go b/errors/errors.go index a73bc85665a7..1fbe662557a7 100644 --- a/errors/errors.go +++ b/errors/errors.go @@ -46,7 +46,7 @@ type stackTracer interface { // New returns an error with the supplied message. // New also records the stack trace at the point it was called. func New(code string, message string) error { - err := errors.New(message) + err := errors.New(message) return argoerr{code, message, err.(stackTracer)} } diff --git a/workflow/controller/operator.go b/workflow/controller/operator.go index 9fb549a2d018..2d89fb05f54b 100644 --- a/workflow/controller/operator.go +++ b/workflow/controller/operator.go @@ -1155,7 +1155,6 @@ func (woc *wfOperationCtx) executeTemplate(nodeName string, orgTmpl wfv1.Templat return retryParentNode, nil } - // Create a new child node and append it to the retry node. nodeName = fmt.Sprintf("%s(%d)", retryNodeName, len(retryParentNode.Children)) woc.addChildNode(retryNodeName, nodeName)