Skip to content

Commit

Permalink
feat: change default address from localhost to :
Browse files Browse the repository at this point in the history
  • Loading branch information
masonkatz committed Mar 4, 2024
1 parent ee69525 commit 224e1ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ func NewOptions(f flagSet, serviceName string, port int) *Options {

f.StringVar(&options.Username, username, "", "username for "+service)
f.StringVar(&options.Password, password, "", "password for "+service)
f.StringVar(&options.Address, address, fmt.Sprint("localhost:", port), "address for "+service)
f.StringVar(&options.Address, address, fmt.Sprint(":", port), "address for "+service)
f.DurationVar(&options.Timeout, timeout, 5*time.Second, "timeout for "+service)

return &options
Expand Down

0 comments on commit 224e1ad

Please sign in to comment.