Merge pull request #520 from mwhudson/indent-probe-data.json
pretty print the probe data when we dump it to /var/log/installer/block
This commit is contained in:
commit
673f0d80da
|
@ -92,7 +92,7 @@ class FilesystemController(BaseController):
|
|||
else:
|
||||
fname = 'probe-data.json'
|
||||
with open(os.path.join(self.block_log_dir, fname), 'w') as fp:
|
||||
json.dump(storage, fp)
|
||||
json.dump(storage, fp, indent=4)
|
||||
self.model.load_probe_data(storage)
|
||||
except Exception:
|
||||
block_discover_log.exception(
|
||||
|
|
Loading…
Reference in New Issue