This commit is contained in:
Matthew Sevey 2021-12-01 14:16:46 -05:00
parent 3e17c1a9ee
commit c45b9c41bd
No known key found for this signature in database
GPG Key ID: 9ADDD344F13057F6
1 changed files with 3 additions and 1 deletions

View File

@ -111,7 +111,9 @@ async def check_disk():
# dump disk usage
script_dir = os.path.dirname(os.path.realpath(sys.argv[0]))
os.popen(script_dir + "/disk-usage-dump.sh " + script_dir + "/" + DISK_USAGE_DUMP_LOG)
os.popen(
script_dir + "/disk-usage-dump.sh " + script_dir + "/" + DISK_USAGE_DUMP_LOG
)
inspect = os.popen("docker inspect sia").read().strip()
inspect_json = json.loads(inspect)