From 224e1adcf106d69572dc0cb76cf044dded7280a3 Mon Sep 17 00:00:00 2001 From: Mason Katz Date: Mon, 4 Mar 2024 15:52:36 -0800 Subject: [PATCH] feat: change default address from localhost to : --- client/client.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/client.go b/client/client.go index 7262645..5baa7cd 100644 --- a/client/client.go +++ b/client/client.go @@ -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