Skip to content

Commit

Permalink
Fix copy-pasta mistake
Browse files Browse the repository at this point in the history
  • Loading branch information
pcman312 committed Apr 27, 2020
1 parent e525703 commit 7ed63f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugin/gcp_config.go
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ func (c *gcpConfig) getGCEAlias(role *gcpRole, instance *compute.Instance) (alia

aliaser, exists := allowedGCEAliases[aliasType]
if !exists {
return "", fmt.Errorf("invalid GCE alias type: must be one of: %s", strings.Join(allowedIAMAliasesSlice, ", "))
return "", fmt.Errorf("invalid GCE alias type: must be one of: %s", strings.Join(allowedGCEAliasesSlice, ", "))
}
return aliaser(role, instance), nil
}

0 comments on commit 7ed63f7

Please sign in to comment.