diff options
author | Lars Wirzenius <liw@liw.fi> | 2018-04-06 21:38:43 +0300 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2018-04-06 21:38:43 +0300 |
commit | 5aeef33219103eb5f39bfc0a79ed462f46a12420 (patch) | |
tree | 7fd5f2deb719a8c4ff68bf7eda7ee024006cf986 /ick_controller.py | |
parent | 63a8c15a46b73232fc2162807eced80e5e2c7296 (diff) | |
download | ick2-5aeef33219103eb5f39bfc0a79ed462f46a12420.tar.gz |
Add: authentication URL to controller /version
Diffstat (limited to 'ick_controller.py')
-rw-r--r-- | ick_controller.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ick_controller.py b/ick_controller.py index edfebb4..66f3de1 100644 --- a/ick_controller.py +++ b/ick_controller.py @@ -47,6 +47,7 @@ default_config = { 'log': [], 'statedir': None, 'artifact-store': None, + 'auth-url': None, } @@ -95,6 +96,7 @@ def main(): api = ick2.ControllerAPI(state) api.set_artifact_store_url(config['artifact-store']) + api.set_auth_url(config['auth-url']) ick2.log.log( 'info', msg_text='created ControllerAPI', artifact_store=config['artifact-store']) |