Skip to content

Commit 298e5ae

Browse files
abhijith-darshanfrittentheke
authored andcommitted
chore: fix string concatenation formatting in getHostZoneID
1 parent c211b95 commit 298e5ae

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)