summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Silverstone <daniel.silverstone@codethink.co.uk>2012-10-04 11:11:13 +0100
committerDaniel Silverstone <daniel.silverstone@codethink.co.uk>2012-10-04 11:11:13 +0100
commitfc205e8818d4d00119f930a4606df8c4d72651a3 (patch)
tree5df35517588885e5458f6d6bbf0c5274f1655dbb
parent2013a62c8dbd36cd240fe3bdb1cde63b3c93702f (diff)
downloadlorry-controller-fc205e8818d4d00119f930a4606df8c4d72651a3.tar.gz
Fix typo
-rwxr-xr-xlorry-controller2
1 files changed, 1 insertions, 1 deletions
diff --git a/lorry-controller b/lorry-controller
index 985945f..73b7a0b 100755
--- a/lorry-controller
+++ b/lorry-controller
@@ -91,7 +91,7 @@ class LorryController(cliapp.Application):
for dead_lorry in prev_lorries - cur_lorries:
logging.info("Dead lorry: %s" % dead_lorry)
conf_uuid = mgr.lorry_state[dead_lorry]['conf']
- should_delete = self.conf.configs[conf_uuid]['delete']
+ should_delete = self.conf.configs[conf_uuid]['destroy']
# TODO: also handle 'unchanged'
if should_delete == "always":
logging.warning("TODO: Delete from Trove")