Override config directory in certs install script in config app

This commit is contained in:
Sam Chow 2018-07-18 14:21:25 -04:00
parent 4c5e5d0579
commit 860703c2b2
3 changed files with 3 additions and 3 deletions

View file

@ -51,7 +51,7 @@ class SuperUserCustomCertificate(ApiResource):
# Call the update script with config dir location to install the certificate immediately.
if subprocess.call([os.path.join(INIT_SCRIPTS_LOCATION, 'certs_install.sh')],
env={ 'QUAYCONF': config_provider.get_config_dir_path() }) != 0:
env={ 'QUAYCONFIG': config_provider.get_config_dir_path() }) != 0:
raise Exception('Could not install certificates')
return '', 204