-
Bug
-
Resolution: Unresolved
-
Normal
-
None
-
4.17, 4.18
Description of problem:
While listing the version for oc-mirror in version 2 the data fields gitCommit, gitTreeState and buildDate are empty. oc-mirror version --v2 2025/03/10 12:16:47 [INFO] : 👋 Hello, welcome to oc-mirror 2025/03/10 12:16:47 [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.0.0-unknown", GitCommit:"", GitTreeState:"", BuildDate:"", GoVersion:"go1.22.9 (Red Hat 1.22.9-1.module+el8.10.0+22500+aee717ef) X:strictfipsruntime", Compiler:"gc", Platform:"linux/amd64"}
Version-Release number of selected component (if applicable):
How reproducible:
oc-mirror version --v2
Steps to Reproduce:
1. 2. 3.
Actual results:
The data fields should have consistent values compared to oc-mirror version --v1
Expected results:
Values for gitCommit, gitTreeState and buildDate
Additional info:
oc-mirror version used 4.18.0-202502260503
- blocks
-
OCPBUGS-53388 Missing version values for oc-mirror --v2
-
- POST
-
- is cloned by
-
OCPBUGS-53388 Missing version values for oc-mirror --v2
-
- POST
-
- links to