Merge "Fix client plugin name when calling ignore_not_found"

This commit is contained in:
Jenkins 2017-09-18 07:24:47 +00:00 committed by Gerrit Code Review
commit e58d1f84f6
1 changed files with 1 additions and 1 deletions

View File

@ -1697,7 +1697,7 @@ class Server(server_base.BaseServer, sh.SchedulerHintsMixin,
def handle_delete_snapshot(self, snapshot):
image_id = snapshot['resource_data'].get('snapshot_image_id')
with self.client_plugin().ignore_not_found:
with self.client_plugin('glance').ignore_not_found:
self.client('glance').images.delete(image_id)
def handle_restore(self, defn, restore_data):