Commit 60c07d9f authored by xiaohua guan's avatar xiaohua guan Committed by Yas Naoi
Browse files

Issue #3262131 by Xiaohua Guan, yas: Fix an error: "The requested URL could...

Issue #3262131 by Xiaohua Guan, yas: Fix an error: "The requested URL could not be retrieved" while refreshing security groups
parent 30b78b2d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -172,7 +172,7 @@ class OpenStackService extends CloudServiceBase implements OpenStackServiceInter
    $endpoint = $credentials['endpoint'] ?? '';
    $data = $credentials['params'] ?? '';

    if (!empty($data)) {
    if (strtolower($http_method) !== 'get' && !empty($data)) {
      $params['body'] = json_encode($data);
    }