From 2950f7b2781643c5e3902b8e0a5ae2c3f076eb67 Mon Sep 17 00:00:00 2001 From: jurgenhaas <juergen@paragon-es.de> Date: Thu, 13 Apr 2017 12:34:11 +0200 Subject: [PATCH] Remove final parameter to make it compatible with both yaml versions, 2.x and 3.x --- src/Handler.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Handler.php b/src/Handler.php index 24eb4b8..5dfd669 100644 --- a/src/Handler.php +++ b/src/Handler.php @@ -184,7 +184,7 @@ class Handler { 'name' => $options['projectname'] . '_default', ], ]; - file_put_contents($traefikFile, Yaml::dump($traefik, 9, 2, YAML::DUMP_MULTI_LINE_LITERAL_BLOCK)); + file_put_contents($traefikFile, Yaml::dump($traefik, 9, 2)); exec('docker-compose -f ' . $traefikFile . ' --project-name traefik restart'); } -- GitLab