From 223b49fb53d7da374208bca031027f7899da62e3 Mon Sep 17 00:00:00 2001 From: Joachim Lusiardi Date: Sun, 10 Apr 2016 14:02:56 +0200 Subject: [PATCH] Changed actions to react on --- start.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/start.py b/start.py index 2f31908..3642117 100644 --- a/start.py +++ b/start.py @@ -173,7 +173,7 @@ if __name__ == '__main__': line_str = line.decode("utf-8") event = json.loads(line_str) - if event['Action'] in ['start', 'destroy']: + if event['Action'] in ['start', 'stop']: # check if there is any domain name configured container_id = event['id'] if len(list_domains.handle_container(client, container_id)) > 0: