Skip to content

Commit 8dbd93d

Browse files
committed
Revert OS version change.
1 parent 085b441 commit 8dbd93d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/common/telemetry/base.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ def _detect_test_context(self, request=None, tbinfo=None) -> Dict[str, str]:
147147
if not context.get(METRIC_LABEL_TEST_TESTBED):
148148
context[METRIC_LABEL_TEST_TESTBED] = os.environ.get(ENV_SONIC_MGMT_TESTBED_NAME, 'unknown')
149149

150-
context[METRIC_LABEL_TEST_OS_VERSION] = duthost.os_version
150+
context[METRIC_LABEL_TEST_OS_VERSION] = os.environ.get(ENV_SONIC_MGMT_BUILD_VERSION, 'unknown')
151151
context[METRIC_LABEL_TEST_JOB_ID] = os.environ.get(ENV_SONIC_MGMT_JOB_ID, 'unknown')
152152

153153
return context

0 commit comments

Comments
 (0)