summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2019-10-18 10:49:21 +0300
committerLars Wirzenius <liw@liw.fi>2019-10-18 10:49:21 +0300
commit989b586768ea89658987de9deb5d1eb2cb957955 (patch)
treea0f74e34dde2bb69a38223bec3d71cea7e1d311f
parentcd41fb97dcf8b2c271090c44a6d299f8f87c6217 (diff)
downloadick2-989b586768ea89658987de9deb5d1eb2cb957955.tar.gz
Revert "Add: muck-url to controller config"
This reverts commit 4f2207571928dc685102e3b3ff55e79cd3d46b6d.
-rw-r--r--ick_controller.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/ick_controller.py b/ick_controller.py
index 62ccaef..2090b4e 100644
--- a/ick_controller.py
+++ b/ick_controller.py
@@ -1,5 +1,5 @@
#!/usr/bin/python3
-# Copyright (C) 2017-2019 Lars Wirzenius
+# Copyright (C) 2017-2018 Lars Wirzenius
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
@@ -47,7 +47,6 @@ default_config = {
'log': [],
'statedir': None,
'artifact-store': None,
- 'muck-url': None,
'auth-url': None,
'notify-url': None,
'apt-server': None,
@@ -94,7 +93,8 @@ def main():
ick2.log.log('info', msg_text='Ick2 controller starts', config=config)
- state = ick2.MuckStore(config['muck-url'])
+ state = ick2.FilePersistentState()
+ state.set_directory(config['statedir'])
api = ick2.ControllerAPI(state)
api.set_apt_server(config['apt-server'])