eo_debian: mark testing/sid with 0 as version number (#50377)

This commit is contained in:
Frédéric Péters 2021-01-20 21:34:37 +01:00
parent b67ddf4d9a
commit 3a9cc02884
1 changed files with 2 additions and 1 deletions

View File

@ -51,7 +51,8 @@ def debian(ctn):
with open('/etc/debian_version') as fh:
content = fh.read()
if 'sid' in content:
ve = 9999
# we shouldn't have non-stable versions
ve = 0
else:
ve = float(content.strip())
eo_debian.labels(ctn).set(ve)