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

Agent create sub-command is returning fatal error

XMLWordPrintable

    • No
    • Agent Sprint 233
    • 1
    • False
    • Hide

      None

      Show
      None
    • Hide
      Previously, the `openshift-install agent create` command did not return the 'help' output when running an invalid command. With this update, the 'help' output is now shown when users run an invalid `openshift-install agent create` command. (link:https://issues.redhat.com/browse/OCPBUGS-10638[*OCPBUGS-10638*])
      Show
      Previously, the `openshift-install agent create` command did not return the 'help' output when running an invalid command. With this update, the 'help' output is now shown when users run an invalid `openshift-install agent create` command. (link: https://issues.redhat.com/browse/OCPBUGS-10638 [* OCPBUGS-10638 *])
    • Bug Fix
    • Done

      Description of problem:

      Agent create sub-command is showing fatal error when executing invalid command.

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

       

      How reproducible:

      Always

      Steps to Reproduce:

      1. Execute `openshift-install agent create invalid`
      

      Actual results:

      FATA[0000] Error executing openshift-install: accepts 0 arg(s), received 1 

      Expected results:

      It should return the help of the create command.

      Additional info:

       

              bfournie@redhat.com Robert Fournier
              rhn-support-mhans Manoj Hans
              Manoj Hans Manoj Hans
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: