mirror of
https://github.com/yunionio/cloudpods.git
synced 2026-08-30 17:13:08 +08:00
fix(region): not set PrimaryZone when no dns_domain configured (#21510)
This commit is contained in:
+1
-1
@@ -64,7 +64,7 @@ func setup(c *caddy.Controller) error {
|
||||
rDNS.PrimaryZone += "."
|
||||
}
|
||||
} else {
|
||||
rDNS.PrimaryZone = "."
|
||||
rDNS.PrimaryZone = ""
|
||||
}
|
||||
rDNS.primaryZoneLabelCount = dns.CountLabel(rDNS.PrimaryZone)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user