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

opm alpha render-template basic hangs when no parameter is sent

XMLWordPrintable

    • Quality / Stability / Reliability
    • False
    • Hide

      None

      Show
      None
    • None
    • Low
    • No
    • None
    • Rejected
    • OPECO 240, OPECO 241
    • 2
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Description of problem:
      When we run opm alpha render-template basic without any parameter, it hangs. The expected result is to return the help message or at least return an error.

      ./opm version                                                                                                                                       
      Version: version.Version{OpmVersion:"v1.28.0-11-ga71ca092", GitCommit:"a71ca092", BuildDate:"2023-08-02T20:46:43Z", GoOs:"linux", GoArch:"amd64"}
      ./opm alpha render-template basic
      

      If an invalid file is sent, it's returned the error message properly

      ./opm alpha render-template basic test
      2023/08/02 18:04:14 unable to open "test": open test: no such file or directory
      

              theishshah Ish Shah (Inactive)
              bandrade@redhat.com bruno andrade
              None
              None
              bruno andrade bruno andrade
              None
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: