Skip to content

Commit

Permalink
fix build error
Browse files Browse the repository at this point in the history
Signed-off-by: jbrinkman <[email protected]>
  • Loading branch information
jbrinkman committed Feb 6, 2025
1 parent a38ad76 commit 0c25ed0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion go/benchmarks/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ import (
"regexp"
"strconv"
"strings"

"github.com/valkey-io/valkey-glide/go/glide/api"
)

type options struct {
Expand Down Expand Up @@ -78,7 +80,7 @@ func parseArguments() *options {
concurrentTasks := flag.String("concurrentTasks", "[1 10 100 1000]", "Number of concurrent tasks")
clientNames := flag.String("clients", "all", "One of: all|go-redis|glide")
host := flag.String("host", api.DefaultHost, "Hostname")
port := flag.Int("port", api.DefaultPost, "Port number")
port := flag.Int("port", api.DefaultPort, "Port number")
clientCount := flag.String("clientCount", "[1]", "Number of clients to run")
tls := flag.Bool("tls", false, "Use TLS")
clusterModeEnabled := flag.Bool("clusterModeEnabled", false, "Is cluster mode enabled")
Expand Down
2 changes: 1 addition & 1 deletion go/examples/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import (
// TODO: Update the file based on the template used in other clients.
func main() {
host := api.DefaultHost
port := api.DefaultPost
port := api.DefaultPort

config := api.NewGlideClientConfiguration().
WithAddress(&api.NodeAddress{Host: host, Port: port})
Expand Down

0 comments on commit 0c25ed0

Please sign in to comment.