Skip to content

Commit

Permalink
Merge pull request #8715 from dean-tate/dean-tate/8712-fix-repo-varia…
Browse files Browse the repository at this point in the history
…ble-update-msg

bug: fixed the msg returned for patching a repo variable
  • Loading branch information
williammartin committed Feb 20, 2024
2 parents fcb1576 + a3601a7 commit 24481c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/cmd/variable/set/http.go
Expand Up @@ -72,7 +72,7 @@ func setVariable(client *api.Client, host string, opts setOptions) setResult {
return result
} else if errors.As(err, &postErr) && postErr.StatusCode == 409 {
// Server will return a 409 if variable already exists
result.Operation = createdOperation
result.Operation = updatedOperation
err = patchRepoVariable(client, opts.Repository, opts.Key, opts.Value)
}
}
Expand Down

0 comments on commit 24481c5

Please sign in to comment.