diff --git a/cmd/flux/get_image.go b/cmd/flux/get_image.go index 5cde4c24..41181189 100644 --- a/cmd/flux/get_image.go +++ b/cmd/flux/get_image.go @@ -25,9 +25,6 @@ var getImageCmd = &cobra.Command{ Aliases: []string{"image"}, Short: "Get image automation object status", Long: "The get image sub-commands print the status of image automation objects.", - RunE: func(cmd *cobra.Command, args []string) error { - return validateWatchOption(cmd, "images") - }, } func init() { diff --git a/cmd/flux/get_source.go b/cmd/flux/get_source.go index 0e3cd5e5..0be7acf0 100644 --- a/cmd/flux/get_source.go +++ b/cmd/flux/get_source.go @@ -25,10 +25,6 @@ var getSourceCmd = &cobra.Command{ Aliases: []string{"source"}, Short: "Get source statuses", Long: "The get source sub-commands print the statuses of the sources.", - RunE: func(cmd *cobra.Command, args []string) error { - - return validateWatchOption(cmd, "sources") - }, } func init() {