X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=csit%2Flibraries%2FOpenStackOperations.robot;h=61e8fc8d2f64718c22fe71752556bb30dbc8142a;hb=d4c6fec2b380bc57467283569cad12152aa60972;hp=5c6fd65ab83b6a62f782d405e5605b9cd3b34925;hpb=7ef504db242cbb8a108afbc20a9ec9881a64fbdc;p=integration%2Ftest.git diff --git a/csit/libraries/OpenStackOperations.robot b/csit/libraries/OpenStackOperations.robot index 5c6fd65ab8..61e8fc8d2f 100644 --- a/csit/libraries/OpenStackOperations.robot +++ b/csit/libraries/OpenStackOperations.robot @@ -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 - ${json} = OpenStack CLI ${cmd} - @{list} = RequestsLibrary.To Json ${json} + ${result} = Run Process With Logging And Status Check ${cmd} + @{list} = RequestsLibrary.To Json ${result.stdout} BuiltIn.Log ${list} [Return] @{list}