Fix logger invocation in DeleteImage
correct method name is getLogger (camel-case). Beside not workin for zunclient itself, in particular it also breaks openstackclient bash completion in presence of zunclient. Change-Id: I5aa6916e0bd2b16bc0f64ab2bda523bb5ee1f5dd Related-Bug: #1762316
This commit is contained in:
@@ -152,7 +152,7 @@ class ShowImage(command.ShowOne):
|
|||||||
class DeleteImage(command.Command):
|
class DeleteImage(command.Command):
|
||||||
"""Delete specified image"""
|
"""Delete specified image"""
|
||||||
|
|
||||||
log = logging.getlogger(__name__ + ".DeleteImage")
|
log = logging.getLogger(__name__ + ".DeleteImage")
|
||||||
|
|
||||||
def get_parser(self, prog_name):
|
def get_parser(self, prog_name):
|
||||||
parser = super(DeleteImage, self).get_parser(prog_name)
|
parser = super(DeleteImage, self).get_parser(prog_name)
|
||||||
|
|||||||
Reference in New Issue
Block a user