summaryrefslogtreecommitdiffstats
path: root/cli/objects/disks.py
diff options
context:
space:
mode:
Diffstat (limited to 'cli/objects/disks.py')
-rw-r--r--cli/objects/disks.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/cli/objects/disks.py b/cli/objects/disks.py
index 064a43e..77955fa 100644
--- a/cli/objects/disks.py
+++ b/cli/objects/disks.py
@@ -8,6 +8,8 @@
import argparse
import re
+from cli.utils import print_json
+
class OgDisk():
@staticmethod
@@ -21,7 +23,7 @@ class OgDisk():
payload = {'client': [parsed_args.client_ip]}
r = rest.get('/client/setup', payload=payload)
- print(r.text)
+ print_json(r.text)
@staticmethod
def setup_disk(rest, args):