Skip to content

Commit

Permalink
Update cli/utils.go
Browse files Browse the repository at this point in the history
Co-authored-by: Shiwei Zhang <[email protected]>
Signed-off-by: Pritesh Bandi <[email protected]>
  • Loading branch information
priteshbandi and shizhMSFT authored Aug 21, 2023
1 parent ed044d1 commit 76ea78e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cli/utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,6 @@ func getMetadata(ctx context.Context, p plugin.Plugin) *plugin.GetMetadataRespon

// deliverError print to standard error and then return nonzero exit code
func deliverError(message string) {
_, _ = fmt.Fprintf(os.Stderr, message)
_, _ = fmt.Fprintln(os.Stderr, message)
os.Exit(1)
}

0 comments on commit 76ea78e

Please sign in to comment.