Skip to content

Commit

Permalink
PWX-23111: Add IPv6 localhost '::1' as a defaultMachine.
Browse files Browse the repository at this point in the history
Signed-off-by: Jose Rivera <[email protected]>
  • Loading branch information
jrivera-px committed Apr 4, 2022
1 parent d55b1f5 commit a67c51d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion etcd/v3/kv_etcd.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ const (
)

var (
defaultMachines = []string{"http://127.0.0.1:2379"}
defaultMachines = []string{"http://127.0.0.1:2379", "http://[::1]:2379"}
// mLock is a lock over the maintenanceClient
mLock sync.Mutex
)
Expand Down

0 comments on commit a67c51d

Please sign in to comment.