eo_debian: mark testing/sid with 0 as version number (#50377)
This commit is contained in:
parent
b67ddf4d9a
commit
3a9cc02884
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue