Hadron / Hadron/carthage

AttributeError: 'WebserverImage' object has no attribute 'base_image' could refer me to oci_container_image

Open
#39 1 comment 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Python
Stars
11
Forks
8
Avg merge
9h 26m
Merged PRs (30d)
6

Description

If I don't do:

add_provider(oci_container_image, 'image:tag')

somewhere, I (correctly) get an error:

File "/home/admin/project/carthage/carthage/podman/base.py", line 412, in pull_base_image
if isinstance(self.base_image, OciImage):
^^^^^^^^^^^^^^^
AttributeError: 'WebserverImage' object has no attribute 'base_image'

It'd be helpful if this error told me directly that I was missing an oci_container_image, and maybe it should do that at model time?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.