Skip to content

Commit fae3731

Browse files
Send service account key creation to stderr (#66)
* Send service account key creation to sterr * Update internal/cmd/service-account/key/create/create.go Co-authored-by: João Palet <joao.palet@outlook.com> --------- Co-authored-by: João Palet <joao.palet@outlook.com>
1 parent 4f74183 commit fae3731

File tree

1 file changed

+1
-1
lines changed
  • internal/cmd/service-account/key/create

1 file changed

+1
-1
lines changed

internal/cmd/service-account/key/create/create.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ func NewCmd() *cobra.Command {
8686
return fmt.Errorf("create service account key: %w", err)
8787
}
8888

89-
cmd.Printf("Created key for service account %s\n", model.ServiceAccountEmail)
89+
cmd.PrintErrf("Created key for service account %s\n", model.ServiceAccountEmail)
9090

9191
key, err := json.MarshalIndent(resp, "", " ")
9292
if err != nil {

0 commit comments

Comments
 (0)