diff --git a/lib/OpenCloud/Common/Resource/PersistentResource.php b/lib/OpenCloud/Common/Resource/PersistentResource.php index 33aa1c398..976d06a47 100644 --- a/lib/OpenCloud/Common/Resource/PersistentResource.php +++ b/lib/OpenCloud/Common/Resource/PersistentResource.php @@ -219,6 +219,8 @@ protected function createJson() foreach ($this->createKeys as $key) { if (null !== ($property = $this->getProperty($key))) { $element->{$this->getAlias($key)} = $this->recursivelyAliasPropertyValue($property); + } elseif ($key == 'gatewayIp') { + $element->{$this->getAlias($key)} = null; } }