• Kubernetes Submit Queue's avatar
    Merge pull request #45582 from CaoShuFeng/kubectl_set · 212150b6
    Kubernetes Submit Queue authored
    Automatic merge from submit-queue
    
    avoid concrete examples for missingResourceError
    
    missingResourceError uses pod and services as an example in error message. However some sub-commands doesn't support pod/service, this change use `<resource> <name>` instead of concrete examples.
    Before this change:
    ```console
    $ kubectl set subject
    error: You must provide one or more resources by argument or filename.
    Example resource specifications include:
       '-f rsrc.yaml'
       '--filename=rsrc.json'
       'pods my-pod'
       'services'
    ```
    
    After this change:
    ```console
    $ kubectl set subject
    error: You must provide one or more resources by argument or filename.
    Example resource specifications include:
       '-f rsrc.yaml'
       '--filename=rsrc.json'
       '<resource> <name>'
       '<resource>'
    ```
    
    **Release note**:
    
    ```release-note
    avoid concrete examples for missingResourceError
    ```
    212150b6
Name
Last commit
Last update
..
BUILD Loading commit data...
builder.go Loading commit data...
builder_test.go Loading commit data...
categories.go Loading commit data...
categories_test.go Loading commit data...
doc.go Loading commit data...
helper.go Loading commit data...
helper_test.go Loading commit data...
interfaces.go Loading commit data...
mapper.go Loading commit data...
result.go Loading commit data...
selector.go Loading commit data...
visitor.go Loading commit data...
visitor_test.go Loading commit data...