Changed actions to react on
This commit is contained in:
parent
b23f1297e6
commit
223b49fb53
2
start.py
2
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:
|
||||
|
Loading…
Reference in New Issue
Block a user