fix typo - container_post__exec__maildir__cleanup

master
Christian Burmeister 2019-05-22 23:05:07 +02:00 committed by GitHub
parent cd71935001
commit a8e96c57b1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -269,7 +269,7 @@ class container_post(Resource):
# api call: container_post - post_action: exec - cmd: maildir - task: cleanup
def container_post_exec__maildir__cleanup(self, container_id):
def container_post__exec__maildir__cleanup(self, container_id):
if 'maildir' in request.json:
for container in docker_client.containers.list(filters={"id": container_id}):
sane_name = re.sub(r'\W+', '', request.json['maildir'])