Skip to content

Commit

Permalink
Support update calls without arguments.
Browse files Browse the repository at this point in the history
In automated environments, the list of operators to update could be empty (think CI/CD). This case shouldn't be considered an error.

Signed-off-by: Jan Schlicht <[email protected]>
  • Loading branch information
Jan Schlicht committed Jul 13, 2020
1 parent eb02fb2 commit 67e97c5
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion pkg/cmd/update.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ import (
func updateCmd() *cobra.Command {
cmd := &cobra.Command{
Use: "update [operator.yaml...]",
Args: cobra.MinimumNArgs(1),
Short: "Update a repository with operators",
Long: `KUDO repositories consist of a collection of indexed operator package tarballs.
kitt creates or updates such a repository by resolving a list of operator
Expand Down

0 comments on commit 67e97c5

Please sign in to comment.