Skip to content

Commit 67e97c5

Browse files
author
Jan Schlicht
committed
Support update calls without arguments.
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]>
1 parent eb02fb2 commit 67e97c5

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

pkg/cmd/update.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ import (
99
func updateCmd() *cobra.Command {
1010
cmd := &cobra.Command{
1111
Use: "update [operator.yaml...]",
12-
Args: cobra.MinimumNArgs(1),
1312
Short: "Update a repository with operators",
1413
Long: `KUDO repositories consist of a collection of indexed operator package tarballs.
1514
kitt creates or updates such a repository by resolving a list of operator

0 commit comments

Comments
 (0)