Loading modules/cloud_service_providers/openstack/src/Service/Rest/OpenStackService.php +12 −0 Original line number Diff line number Diff line Loading @@ -1535,6 +1535,12 @@ class OpenStackService extends CloudServiceBase implements OpenStackServiceInter * The snapshot update API response. */ public function updateSnapshot(array $params = []) { if ($this->isWorkerResource()) { $this->saveOperation(__FUNCTION__, [$params], 'updateSnapshots'); return ['SendToWorker' => TRUE]; } $this->loadCredentials(); $body['snapshot'] = [ Loading Loading @@ -1578,6 +1584,12 @@ class OpenStackService extends CloudServiceBase implements OpenStackServiceInter * Succeeded or failed. */ public function deleteSnapshot(array $params = []) { if ($this->isWorkerResource()) { $this->saveOperation(__FUNCTION__, [$params], 'updateSnapshots'); return ['SendToWorker' => TRUE]; } $this->loadCredentials(); $project_id = $this->credentials['project_id']; Loading Loading
modules/cloud_service_providers/openstack/src/Service/Rest/OpenStackService.php +12 −0 Original line number Diff line number Diff line Loading @@ -1535,6 +1535,12 @@ class OpenStackService extends CloudServiceBase implements OpenStackServiceInter * The snapshot update API response. */ public function updateSnapshot(array $params = []) { if ($this->isWorkerResource()) { $this->saveOperation(__FUNCTION__, [$params], 'updateSnapshots'); return ['SendToWorker' => TRUE]; } $this->loadCredentials(); $body['snapshot'] = [ Loading Loading @@ -1578,6 +1584,12 @@ class OpenStackService extends CloudServiceBase implements OpenStackServiceInter * Succeeded or failed. */ public function deleteSnapshot(array $params = []) { if ($this->isWorkerResource()) { $this->saveOperation(__FUNCTION__, [$params], 'updateSnapshots'); return ['SendToWorker' => TRUE]; } $this->loadCredentials(); $project_id = $this->credentials['project_id']; Loading