missing self for client
@@ -419,8 +419,8 @@ class Plugin:
self.logger.info("Pulling " + name[1] + "\n" +
str(output))
- image_attrs = d_client.images.get(image_name).attrs
- image_id = image_attrs['Id'].split(':')[1][:12]
+ i_attrs = self.d_client.images.get(image_name).attrs
+ image_id = i_attrs['Id'].split(':')[1][:12]
if image_id:
template.set_option(section, "built", "yes")
