Skip to content

Commit 316a7bc

Browse files
committed
Ignore the registry config if the provided config path is not valid to read
1 parent 75740e5 commit 316a7bc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

charon/config.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,8 +66,8 @@ def validate(self) -> bool:
6666
if self.__quay_radas_registry_config and not os.access(
6767
self.__quay_radas_registry_config, os.R_OK
6868
):
69-
logger.error("The quay registry config for oras is not valid!")
70-
return False
69+
self.__quay_radas_registry_config = None
70+
logger.warning("The quay registry config for oras is not valid, will ignore the registry config!")
7171
return True
7272

7373
def umb_target(self) -> str:

0 commit comments

Comments
 (0)