Skip to content

Commit

Permalink
Fix linter points
Browse files Browse the repository at this point in the history
  • Loading branch information
matsuyoshi30 committed Nov 24, 2020
1 parent a715d46 commit 0109868
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ func parseResolvers(addrs string) ([]string, error) {
}

stringAddrs := strings.Split(addrs, ",")
var result []string
result := make([]string, 0, len(stringAddrs))

for _, addr := range stringAddrs {
trimmedAddr := strings.TrimSpace(addr)
Expand Down

0 comments on commit 0109868

Please sign in to comment.