Skip to content

Commit b6d64cd

Browse files
chore: fix string concatenation formatting in getHostZoneID
1 parent 2347083 commit b6d64cd

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

internal/designate/provider/provider.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ func getHostZoneID(hostname string, managedZones map[string]string) string {
116116
resultID := ""
117117

118118
for zoneID, zoneName := range managedZones {
119-
if !strings.HasSuffix(hostname, "." + zoneName) && hostname != zoneName {
119+
if !strings.HasSuffix(hostname, "."+zoneName) && hostname != zoneName {
120120
continue
121121
}
122122
ln := len(zoneName)

0 commit comments

Comments
 (0)