|
@@ -557,8 +557,8 @@ class OpenStackSnapshot(BaseSnapshot):
|
|
|
"""
|
|
"""
|
|
|
Set the snapshot name.
|
|
Set the snapshot name.
|
|
|
"""
|
|
"""
|
|
|
- self._snapshot.add_tag('Name', value)
|
|
|
|
|
- self._snapshot.update()
|
|
|
|
|
|
|
+ self._snapshot.name = value
|
|
|
|
|
+ self._snapshot.update(name=value)
|
|
|
|
|
|
|
|
@property
|
|
@property
|
|
|
def description(self):
|
|
def description(self):
|
|
@@ -567,7 +567,7 @@ class OpenStackSnapshot(BaseSnapshot):
|
|
|
@description.setter
|
|
@description.setter
|
|
|
def description(self, value):
|
|
def description(self, value):
|
|
|
self._snapshot.description = value
|
|
self._snapshot.description = value
|
|
|
- self._snapshot.update()
|
|
|
|
|
|
|
+ self._snapshot.update(description=value)
|
|
|
|
|
|
|
|
@property
|
|
@property
|
|
|
def size(self):
|
|
def size(self):
|