remove debug print
This commit is contained in:
parent
0230ddda17
commit
06173f900e
|
@ -22,7 +22,6 @@ def get_power_states():
|
||||||
power_state = data['labels'][i]
|
power_state = data['labels'][i]
|
||||||
break
|
break
|
||||||
output[f'gpu{gpu_num}'] = int(power_state.lower().strip('p'))
|
output[f'gpu{gpu_num}'] = int(power_state.lower().strip('p'))
|
||||||
print(output)
|
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
print('Failed to fetch Netdata metrics:', e)
|
print('Failed to fetch Netdata metrics:', e)
|
||||||
return output
|
return output
|
||||||
|
|
Reference in New Issue