Skip to content

Commit ee5e32d

Browse files
committed
revert "fixed datastore size scale"
1 parent 27b7d8f commit ee5e32d

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

agent_based/proxmox_bs.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -184,8 +184,8 @@ def proxmox_bs_checks(item, params, section):
184184
if (n == "proxmox-backup-client status") and (k == item):
185185
try:
186186
ds_status = json.loads(c)
187-
size_mb = int(ds_status["total"])/(1024**2)
188-
avail_mb = int(ds_status["avail"])/(1024**2)
187+
size_mb = int(ds_status["total"])
188+
avail_mb = int(ds_status["avail"])
189189

190190
yield from df.df_check_filesystem_single(
191191
value_store, item, size_mb, avail_mb,

info

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
'name': 'proxmox_bs',
1010
'num_files': 4,
1111
'title': 'Proxmox Backup Server',
12-
'version': '0.3.7',
12+
'version': '0.3.8',
1313
'version.min_required': '2.0.0',
1414
'version.packaged': '2.0.0p3',
1515
'version.usable_until': None}

0 commit comments

Comments
 (0)