Revert "Fix stderr parse into JSON for OS List opers" 48/75148/1
authorSam Hague <shague@redhat.com>
Sun, 12 Aug 2018 18:38:37 +0000 (18:38 +0000)
committerSam Hague <shague@redhat.com>
Sun, 12 Aug 2018 18:38:37 +0000 (18:38 +0000)
This reverts commit d4c6fec2b380bc57467283569cad12152aa60972.

Change-Id: Iac66f1cac0f57b390b65b0ad38baf52d0ca4c7cb
Signed-off-by: Sam Hague <shague@redhat.com>
csit/libraries/OpenStackOperations.robot

index 61e8fc8d2f64718c22fe71752556bb30dbc8142a..5c6fd65ab83b6a62f782d405e5605b9cd3b34925 100644 (file)
@@ -943,8 +943,8 @@ OpenStack CLI Get List
     [Arguments]    ${cmd}
     [Documentation]    Return a json list from the output of an OpenStack command.
     @{list} =    BuiltIn.Create List
-    ${result} =    Run Process With Logging And Status Check    ${cmd}
-    @{list} =    RequestsLibrary.To Json    ${result.stdout}
+    ${json} =    OpenStack CLI    ${cmd}
+    @{list} =    RequestsLibrary.To Json    ${json}
     BuiltIn.Log    ${list}
     [Return]    @{list}