Skip to content
This repository has been archived by the owner on Feb 16, 2023. It is now read-only.

Commit

Permalink
Explicitly mention GCP instead of just Google
Browse files Browse the repository at this point in the history
Co-authored-by: Joris Coenen <jpcoenen@users.noreply.github.com>
  • Loading branch information
florisvdg and jpcoenen authored Jul 6, 2020
1 parent 69d94e3 commit 9955b8f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internals/api/server_errors.go
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ var (
ErrAWSRoleAlreadyTaken = errHub.Code("aws_role_taken").StatusError("a service account coupled to that IAM role already exists. Delete the existing service account or create a new one using a different IAM role.", http.StatusConflict)

// GCP IdP
ErrGCPServiceAccountAlreadyTaken = errHub.Code("gcp_service_account_taken").StatusError("a SecretHub service account coupled to that Google Service Account email already exists. Delete the existing SecretHub service account or create a new one using a different Google Service Account email.", http.StatusConflict)
ErrGCPServiceAccountAlreadyTaken = errHub.Code("gcp_service_account_taken").StatusError("a SecretHub service account coupled to that GCP Service Account email already exists. Delete the existing SecretHub service account or create a new one using a different GCP Service Account email.", http.StatusConflict)

// Account
ErrAccountNotFound = errHub.Code("account_not_found").StatusError("Account not found", http.StatusNotFound)
Expand Down

0 comments on commit 9955b8f

Please sign in to comment.