Skip to content

Commit

Permalink
Remove redundant type conversion.
Browse files Browse the repository at this point in the history
  • Loading branch information
singlemancombat authored and singlemancombat committed Mar 31, 2020
1 parent 8abfecb commit 4cc8a07
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion gee-cache/day5-multi-nodes/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -82,5 +82,5 @@ func main() {
if api {
go startAPIServer(apiAddr, gee)
}
startCacheServer(addrMap[port], []string(addrs), gee)
startCacheServer(addrMap[port], addrs, gee)
}
2 changes: 1 addition & 1 deletion gee-cache/day6-single-flight/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -82,5 +82,5 @@ func main() {
if api {
go startAPIServer(apiAddr, gee)
}
startCacheServer(addrMap[port], []string(addrs), gee)
startCacheServer(addrMap[port], addrs, gee)
}
2 changes: 1 addition & 1 deletion gee-cache/day7-proto-buf/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -82,5 +82,5 @@ func main() {
if api {
go startAPIServer(apiAddr, gee)
}
startCacheServer(addrMap[port], []string(addrs), gee)
startCacheServer(addrMap[port], addrs, gee)
}

0 comments on commit 4cc8a07

Please sign in to comment.