Skip to content

Commit

Permalink
Merge pull request #15 from singlemancombat/master
Browse files Browse the repository at this point in the history
Remove redundant type conversion.
  • Loading branch information
geektutu authored Apr 1, 2020
2 parents 8abfecb + 4cc8a07 commit b6e93e7
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 b6e93e7

Please sign in to comment.