File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -109,9 +109,7 @@ def _load_config_from_env() -> AuditLogConfig:
109109 binding_data : BindingData = BindingData ("" , "" )
110110
111111 read_from_mount_and_fallback_to_env_var (
112- module = "auditlog" ,
113- instance = "default" ,
114- target = binding_data
112+ module = "auditlog" , instance = "default" , target = binding_data
115113 )
116114
117115 binding_data .validate ()
Original file line number Diff line number Diff line change 22Constants for secret resolver module.
33"""
44
5-
65BASE_PATH = "/etc/secrets/appfnd"
76BASE_ENV_VAR_NAME = "CLOUD_SDK_CFG"
Original file line number Diff line number Diff line change @@ -12,6 +12,7 @@ def resolve_base_mount(base_volume_mount: str = BASE_PATH) -> str:
1212 """Return SERVICE_BINDING_ROOT if set, otherwise the provided default."""
1313 return os .environ .get ("SERVICE_BINDING_ROOT" , base_volume_mount )
1414
15+
1516def _validate_inputs (module : str , instance : str ) -> None :
1617 """Validate module and instance inputs."""
1718 if not isinstance (module , str ) or not module .strip ():
You can’t perform that action at this time.
0 commit comments