Fix config var

This commit is contained in:
Benjamin Collet 2025-03-23 21:21:42 +01:00
parent 7c2b4989cc
commit d78d2ff83c
Signed by: bcollet
SSH key fingerprint: SHA256:8UJspOIcCOS+MtSOcnuq2HjKFube4ox1s/+A62ixov4

View file

@ -6,7 +6,7 @@ import yaml
class config:
@classmethod
def __init__(self):
config_path = os.environ.get("STEP_CA_CERTAPI_CONFIGURATION")
config_path = os.environ.get("STEP_CA_INSPECTOR_CONFIGURATION")
if config_path is None:
print("No configuration file found")
sys.exit(1)