Skip to content

Commit e20c126

Browse files
committed
git_deploy: compare upstream url to lowercase url during validation
SIgned-off-by: Eric Callahan <arksine.code@gmail.com>
1 parent 211c7e7 commit e20c126

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

moonraker/components/update_manager/git_deploy.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -429,7 +429,7 @@ def report_invalids(self, primary_branch: str) -> List[str]:
429429
upstream_url = self.upstream_url.lower()
430430
if upstream_url[-4:] != ".git":
431431
upstream_url += ".git"
432-
if upstream_url != self.origin_url:
432+
if upstream_url != self.origin_url.lower():
433433
invalids.append(f"Unofficial remote url: {self.upstream_url}")
434434
if self.git_branch != primary_branch or self.git_remote != "origin":
435435
invalids.append(

0 commit comments

Comments
 (0)