Revert "Fix stderr parse into JSON for OS List opers"
[integration/test.git] / 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}