Kami commented on a change in pull request #1478:
URL: https://github.com/apache/libcloud/pull/1478#discussion_r464069802
##########
File path: libcloud/container/drivers/lxd.py
##########
@@ -971,6 +1073,25 @@ def list_images(self):
images.append(self.ex_get_image(fingerprint=fingerprint))
return images
+ def ex_has_image(self, alias):
+ """
+ Helper function. Returns true is the image with the
+ given alias exits on the host
+
+ :param alias: the image alias
+ :type alias: ``str``
+
+ :rtype: boolean
Review comment:
Looks like method actually returns a tuple, please update the comment
accordingly.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]