Skip to content

Commit 349d591

Browse files
committed
fix error msg
1 parent 3b78be4 commit 349d591

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

enterprise/cli/groupdelete.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ func groupDelete() *cobra.Command {
3838

3939
err = client.DeleteGroup(ctx, group.ID)
4040
if err != nil {
41-
return xerrors.Errorf("patch group: %w", err)
41+
return xerrors.Errorf("delete group: %w", err)
4242
}
4343

4444
_, _ = fmt.Fprintf(cmd.OutOrStdout(), "Successfully deleted group %s!\n", cliui.Styles.Keyword.Render(group.Name))

0 commit comments

Comments
 (0)