From 2c04ce98aa9002aa1b59c01b7dab734e6f45f7b6 Mon Sep 17 00:00:00 2001
From: jurgenhaas <juergen.haas@lakedrops.com>
Date: Wed, 6 Jul 2022 09:52:07 +0200
Subject: [PATCH] composer/library/docker-traefik#8 Fix typo

---
 Traefik.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Traefik.php b/Traefik.php
index 4aadf38..c9d8ffb 100644
--- a/Traefik.php
+++ b/Traefik.php
@@ -121,7 +121,7 @@ class Traefik {
     $upd1 = $this->updateFile($traefikConfigPath . '/certificates.toml', $this->defaultCertificatesConfig());
     $upd2 = $this->updateFile($traefikFile, Yaml::dump($this->defaultDockerCompose(), 9, 2));
     if ($upd1 || $upd2) {
-      $fs->chown($traefikConfigPath . '/certifications.toml', $user, TRUE);
+      $fs->chown($traefikConfigPath . '/certificates.toml', $user, TRUE);
       $fs->chown($traefikFile, $user, TRUE);
       $cwd = getcwd();
       chdir($traefikPath);
-- 
GitLab