Rename image to image_id.
The variable name `image` was a bit misleading since we're dealing with an ID and not an Image object. This renames the variables to clarify that fact. Includes some other small cleanups like using new-style classes and replacing `if X is True` with `if X`. Change-Id: Ic1378da203cfb3e199b9d2f1a14911bc7e24a1f5
This commit is contained in:
@@ -1093,7 +1093,7 @@ class InvalidInstanceIDMalformed(Invalid):
|
||||
|
||||
|
||||
class CouldNotFetchImage(NovaException):
|
||||
message = _("Could not fetch image %(image)s")
|
||||
message = _("Could not fetch image %(image_id)s")
|
||||
|
||||
|
||||
def get_context_from_function_and_args(function, args, kwargs):
|
||||
|
||||
Reference in New Issue
Block a user