From e20c12619bfb9504ef817fcde82752d47e52f145 Mon Sep 17 00:00:00 2001 From: Eric Callahan Date: Thu, 8 Jul 2021 12:09:17 -0400 Subject: [PATCH] git_deploy: compare upstream url to lowercase url during validation SIgned-off-by: Eric Callahan --- moonraker/components/update_manager/git_deploy.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/moonraker/components/update_manager/git_deploy.py b/moonraker/components/update_manager/git_deploy.py index c9f37372a..1a0d10aac 100644 --- a/moonraker/components/update_manager/git_deploy.py +++ b/moonraker/components/update_manager/git_deploy.py @@ -429,7 +429,7 @@ def report_invalids(self, primary_branch: str) -> List[str]: upstream_url = self.upstream_url.lower() if upstream_url[-4:] != ".git": upstream_url += ".git" - if upstream_url != self.origin_url: + if upstream_url != self.origin_url.lower(): invalids.append(f"Unofficial remote url: {self.upstream_url}") if self.git_branch != primary_branch or self.git_remote != "origin": invalids.append(