Skip to content
This repository was archived by the owner on Dec 9, 2020. It is now read-only.

Commit ae2ba24

Browse files
committed
Fix linting error with string conversion
1 parent c6050d4 commit ae2ba24

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ultradns/resource_ultradns_dirpool.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -584,7 +584,7 @@ func hashIPInfoIPs(v interface{}) int {
584584
buf.WriteString(fmt.Sprintf("%s-", m["start"].(string)))
585585
buf.WriteString(fmt.Sprintf("%s-", m["end"].(string)))
586586
buf.WriteString(fmt.Sprintf("%s-", m["cidr"].(string)))
587-
buf.WriteString(fmt.Sprintf("%s", m["address"].(string)))
587+
buf.WriteString(m["address"].(string))
588588

589589
h := hashcode.String(buf.String())
590590
log.Printf("[DEBUG] hashIPInfoIPs(): %v -> %v", buf.String(), h)

0 commit comments

Comments
 (0)