]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
ceph-volume: Add linesep/newline at end of JSON file when writing 19458/head
authorWido den Hollander <wido@42on.com>
Tue, 12 Dec 2017 20:27:07 +0000 (21:27 +0100)
committerWido den Hollander <wido@42on.com>
Tue, 12 Dec 2017 20:27:07 +0000 (21:27 +0100)
commit392603a881957f6e8cf03c29610e8878c53cff33
treec70f35136b1e98401ce51f26eb490f7fa3c6d6dc
parenta01c014772e95ecb41508f0d1985082d80fd3642
ceph-volume: Add linesep/newline at end of JSON file when writing

Instead of:

    "systemd": "",
    "type": "bluestore",
    "whoami": "0"
  }root@alpha:~#

A newline is added to the JSON file when writing:

    "type": "bluestore",
    "whoami": "0"
  }
  root@alpha:~#

Makes it a bit easier to read the JSON files on a terminal

Signed-off-by: Wido den Hollander <wido@42on.com>
src/ceph-volume/ceph_volume/devices/simple/scan.py