Skip to content

Commit 657aba2

Browse files
RSaboundsstevekeay
authored andcommitted
output as json for parsable content.
1 parent f95121a commit 657aba2

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

python/understack-workflows/understack_workflows/main/get_raid_devices.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import argparse
2+
import json
23
import logging
34
import os
45

@@ -42,7 +43,7 @@ def main():
4243

4344
# argo workflows captures stdout as the results which we can use
4445
# to return the device UUID
45-
print(parse_controller_details(client))
46+
print(json.dumps(parse_controller_details(client)))
4647

4748

4849
def argument_parser():

0 commit comments

Comments
 (0)