Merge pull request #40189 from xilabao/patch-5
Automatic merge from submit-queue (batch tested with PRs 37228, 40146, 40075, 38789, 40189) update short help message in set resource To keep the help message well-formed. ``` #kubectl set -h Configure application resources These commands help you make changes to existing application resources. Available Commands: image Update image of a pod template resources update resource requests/limits on objects with pod templates selector Set the selector on a resource Usage: kubectl set SUBCOMMAND [options] ``` ```release-note NONE ```
This commit is contained in:
		@@ -98,7 +98,7 @@ func NewCmdResources(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
	cmd := &cobra.Command{
 | 
						cmd := &cobra.Command{
 | 
				
			||||||
		Use:     "resources (-f FILENAME | TYPE NAME)  ([--limits=LIMITS & --requests=REQUESTS]",
 | 
							Use:     "resources (-f FILENAME | TYPE NAME)  ([--limits=LIMITS & --requests=REQUESTS]",
 | 
				
			||||||
		Short:   "update resource requests/limits on objects with pod templates",
 | 
							Short:   "Update resource requests/limits on objects with pod templates",
 | 
				
			||||||
		Long:    fmt.Sprintf(resources_long, strings.Join(resourceTypesWithPodTemplate, ", ")),
 | 
							Long:    fmt.Sprintf(resources_long, strings.Join(resourceTypesWithPodTemplate, ", ")),
 | 
				
			||||||
		Example: resources_example,
 | 
							Example: resources_example,
 | 
				
			||||||
		Run: func(cmd *cobra.Command, args []string) {
 | 
							Run: func(cmd *cobra.Command, args []string) {
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user