Skip to content

Commit de984ec

Browse files
committed
Update kubetl subresource to stable
Signed-off-by: Maciej Szulik <[email protected]>
1 parent 931ad2a commit de984ec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

staging/src/k8s.io/kubectl/pkg/cmd/util/helpers.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -539,7 +539,7 @@ func AddPruningFlags(cmd *cobra.Command, prune *bool, pruneAllowlist *[]string,
539539
}
540540

541541
func AddSubresourceFlags(cmd *cobra.Command, subresource *string, usage string) {
542-
cmd.Flags().StringVar(subresource, "subresource", "", fmt.Sprintf("%s This flag is beta and may change in the future.", usage))
542+
cmd.Flags().StringVar(subresource, "subresource", "", usage)
543543
CheckErr(cmd.RegisterFlagCompletionFunc("subresource", func(*cobra.Command, []string, string) ([]string, cobra.ShellCompDirective) {
544544
var commonSubresources = []string{"status", "scale", "resize"}
545545
return commonSubresources, cobra.ShellCompDirectiveNoFileComp

0 commit comments

Comments
 (0)