summaryrefslogtreecommitdiff
path: root/openstackclient/volume/v1/snapshot.py
diff options
context:
space:
mode:
Diffstat (limited to 'openstackclient/volume/v1/snapshot.py')
-rw-r--r--openstackclient/volume/v1/snapshot.py6
1 files changed, 0 insertions, 6 deletions
diff --git a/openstackclient/volume/v1/snapshot.py b/openstackclient/volume/v1/snapshot.py
index bf5bf264..5132d71e 100644
--- a/openstackclient/volume/v1/snapshot.py
+++ b/openstackclient/volume/v1/snapshot.py
@@ -208,10 +208,6 @@ class SetSnapshot(command.Command):
if parsed_args.description:
kwargs['display_description'] = parsed_args.description
- if not kwargs and not parsed_args.property:
- self.app.log.error(_("No changes requested\n"))
- return
-
snapshot.update(**kwargs)
@@ -270,5 +266,3 @@ class UnsetSnapshot(command.Command):
snapshot.id,
parsed_args.property,
)
- else:
- self.app.log.error(_("No changes requested\n"))