Skip to content

Commit

Permalink
Changed CloudErrorCodes from vars to consts. (Azure#1997)
Browse files Browse the repository at this point in the history
Co-authored-by: Jeremy Facchetti <[email protected]>
  • Loading branch information
2 people authored and jhoreman committed May 3, 2022
1 parent b62ed03 commit b9ea542
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/api/error.go
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ func (b *CloudErrorBody) String() string {
}

// CloudErrorCodes
var (
const (
CloudErrorCodeInternalServerError = "InternalServerError"
CloudErrorCodeDeploymentFailed = "DeploymentFailed"
CloudErrorCodeInvalidParameter = "InvalidParameter"
Expand Down

0 comments on commit b9ea542

Please sign in to comment.