feat: Log CNAME expectations on mismatch
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
This commit is contained in:
parent
2fb1e36b06
commit
c0b87be246
@ -86,6 +86,7 @@ func lookupRepositoryAndCache(username, reponame, branchName, host, domain, path
|
||||
|
||||
log.Debugf("CNAME Content: %s", cnameContent)
|
||||
if cnameContent != cname {
|
||||
log.Warnf("CNAME mismatch: Got '%s', expected '%s'", cname, cnameContent)
|
||||
return nil, errors.New("CNAME mismatch")
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user