diff options
author | Lars Wirzenius <liw@liw.fi> | 2019-10-18 10:49:20 +0300 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2019-10-18 10:49:20 +0300 |
commit | cd41fb97dcf8b2c271090c44a6d299f8f87c6217 (patch) | |
tree | 92024d274bb26090af42ddb97d423c2d4786f3b5 /ick_controller.py | |
parent | 57a27b0432a0d9b8877ea50a554294326302e7da (diff) | |
download | ick2-cd41fb97dcf8b2c271090c44a6d299f8f87c6217.tar.gz |
Revert "Add: TokenGetter"
This reverts commit 7a6bc2f7749c10c1d3344ea0196e81ae95b7f0d7.
Diffstat (limited to 'ick_controller.py')
-rw-r--r-- | ick_controller.py | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/ick_controller.py b/ick_controller.py index 7299e60..62ccaef 100644 --- a/ick_controller.py +++ b/ick_controller.py @@ -51,8 +51,6 @@ default_config = { 'auth-url': None, 'notify-url': None, 'apt-server': None, - 'client-id': None, - 'client-secret': None, } @@ -98,9 +96,7 @@ def main(): state = ick2.MuckStore(config['muck-url']) - getter = ick2.TokenGetter(config['client-id'], config['client-secret']) - - api = ick2.ControllerAPI(state, getter) + api = ick2.ControllerAPI(state) api.set_apt_server(config['apt-server']) api.set_artifact_store_url(config['artifact-store']) api.set_auth_url(config['auth-url']) |