Skip to content

Commit 717d9f1

Browse files
authored
Merge pull request kubernetes#130238 from soltysh/subresource_stable
Update kubetl subresource to stable
2 parents bff54e4 + de984ec commit 717d9f1

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)