Skip to content

Commit

Permalink
fix: gcp_service_account_key is not available
Browse files Browse the repository at this point in the history
GcpServiceAccountKey doesn't exist on StorageCredentialInfo in the
current SDKs
  • Loading branch information
docwhat committed Oct 23, 2023
1 parent 9f2d2b9 commit 8122cc8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/workspace/storage-credentials/overrides.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
func listOverride(listCmd *cobra.Command) {
listCmd.Annotations["template"] = cmdio.Heredoc(`
{{header "ID"}} {{header "Name"}} {{header "Credentials"}}
{{range .}}{{.Id|green}} {{.Name|cyan}} {{if .AwsIamRole}}{{.AwsIamRole.RoleArn}}{{end}}{{if .AzureServicePrincipal}}{{.AzureServicePrincipal.ApplicationId}}{{end}}{{if .GcpServiceAccountKey}}{{.Email}}{{end}}
{{range .}}{{.Id|green}} {{.Name|cyan}} {{if .AwsIamRole}}{{.AwsIamRole.RoleArn}}{{end}}{{if .AzureServicePrincipal}}{{.AzureServicePrincipal.ApplicationId}}{{end}}
{{end}}`)
}

Expand Down

0 comments on commit 8122cc8

Please sign in to comment.