Skip to content

Commit

Permalink
Fix output of Schedule Delete
Browse files Browse the repository at this point in the history
It should be `\n` and not `/n/` when doing the printf on a schedule delete.

Signed-off-by: Jon Whitcraft <[email protected]>
  • Loading branch information
jwhitcraft committed Dec 6, 2018
1 parent f1deff8 commit f983f4f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions changelogs/unreleased/1120-jwhitcraft
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Fixed the newline output when deleting a schedule.
2 changes: 1 addition & 1 deletion pkg/cmd/cli/schedule/delete.go
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ func Run(o *cli.DeleteOptions) error {
errs = append(errs, errors.WithStack(err))
continue
}
fmt.Printf("Schedule deleted: %v/n", s.Name)
fmt.Printf("Schedule deleted: %v\n", s.Name)
}
return kubeerrs.NewAggregate(errs)
}

0 comments on commit f983f4f

Please sign in to comment.