We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e798faa commit a290418Copy full SHA for a290418
src/gardenlinux/features/__main__.py
@@ -158,7 +158,7 @@ def get_version_and_commit_id_from_files(gardenlinux_root):
158
159
if os.access(path.join(gardenlinux_root, "COMMIT"), os.R_OK):
160
with open(path.join(gardenlinux_root, "COMMIT"), "r") as fp:
161
- commit_id = fp.read().strip()
+ commit_id = fp.read().strip()[:8]
162
163
if os.access(path.join(gardenlinux_root, "VERSION"), os.R_OK):
164
with open(path.join(gardenlinux_root, "VERSION"), "r") as fp:
0 commit comments