Uploaded image for project: 'OpenShift Bugs'
  1. OpenShift Bugs
  2. OCPBUGS-34588

wrong error message

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Minor Minor
    • None
    • 4.14.z
    • oc
    • None
    • Low
    • No
    • False
    • Hide

      None

      Show
      None

      Description of problem:

         When running exec pod command I get the follow warning: 
      
      kubectl exec [POD] [COMMAND] is DEPRECATED and will be removed in a future version. Use kubectl exec [POD] -- [COMMAND] instead.
      
      As an openshift user/oc cli I expect it to specify oc and not kubectl command in the warning

      Version-Release number of selected component (if applicable):

          4.14.6

      How reproducible:

      100%    

      Steps to Reproduce:

          1. run oc exec command without the --
          2.
          3.
          

      Actual results:

          kubectl exec [POD] [COMMAND] is DEPRECATED and will be removed in a future version. Use kubectl exec [POD] -- [COMMAND] instead.

      Expected results:

          oc exec [POD] [COMMAND] is DEPRECATED and will be removed in a future version. Use oc exec [POD] -- [COMMAND] instead.

      Additional info:

          

              aguclu@redhat.com Arda Guclu
              dafrank@redhat.com Dalia Frank
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: