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

[v2] Remove unwanted line from oc-mirror version output.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • 4.20, 4.21
    • oc-mirror
    • Quality / Stability / Reliability
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Description of problem:

          When oc-mirror version --v2 is run, it prints 
          2025/11/04 14:11:06  [INFO]   : ⚙️  setting up the environment for              you...
      which is not relevant in this case.

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

          

      How reproducible:

          

      Steps to Reproduce:

          1.
          2.
          3.
          

      Actual results:

      oc-mirror version --v2
      2025/11/04 14:11:06  [INFO]   : 👋 Hello, welcome to oc-mirror
      2025/11/04 14:11:06  [INFO]   : ⚙️  setting up the environment for you...
      WARNING: This version information is deprecated and will be replaced with the output from --short. Use --output=yaml|json to get the full version.
      Client Version: version.Info{Major:"", Minor:"", GitVersion:"v0.2.0-alpha.1-494-geeccf40", GitCommit:"eeccf407", GitTreeState:"clean", BuildDate:"2025-11-04T08:41:12Z", GoVersion:"go1.24.3", Compiler:"gc", Platform:"linux/amd64"}

      Expected results:

      oc-mirror version --v2
      2025/11/04 14:11:06  [INFO]   : 👋 Hello, welcome to oc-mirror
      WARNING: This version information is deprecated and will be replaced with the output from --short. Use --output=yaml|json to get the full version.
      Client Version: version.Info{Major:"", Minor:"", GitVersion:"v0.2.0-alpha.1-494-geeccf40", GitCommit:"eeccf407", GitTreeState:"clean", BuildDate:"2025-11-04T08:41:12Z", GoVersion:"go1.24.3", Compiler:"gc", Platform:"linux/amd64"}

      Additional info:

          

              rh-ee-aguidi Alex Guidi
              rh-ee-ngavali Nidan Gavali
              None
              None
              Nidan Gavali Nidan Gavali
              None
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: