Skip to content

Commit

Permalink
fix example client
Browse files Browse the repository at this point in the history
  • Loading branch information
vadiminshakov committed Sep 26, 2024
1 parent d3e70f9 commit 38aeb9e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/client/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
"strconv"
)

const coordinatorAddr = "localhost:3000"
const coordinatorAddr = "0.0.0.0:3000"

func main() {
key, value := "somekey", "somevalue"
Expand All @@ -34,6 +34,6 @@ func main() {
if err != nil {
panic(err)
}
fmt.Printf("got value for key '%s': %s", key+strconv.Itoa(i), string(v.Value)+strconv.Itoa(i))
fmt.Printf("got value for key '%s': %s\n", key+strconv.Itoa(i), string(v.Value)+strconv.Itoa(i))
}
}

0 comments on commit 38aeb9e

Please sign in to comment.