Skip to content

Commit a379f86

Browse files
committed
Check that advertise without ports works in test
1 parent b8650b2 commit a379f86

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

command/agent/agent_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ func TestAgent_ServerConfig(t *testing.T) {
155155
conf.Addresses.RPC = "127.0.0.2"
156156
conf.Addresses.Serf = "127.0.0.2"
157157
conf.Addresses.HTTP = "127.0.0.2"
158-
conf.AdvertiseAddrs.HTTP = "10.0.0.10:4646"
158+
conf.AdvertiseAddrs.HTTP = "10.0.0.10"
159159
conf.AdvertiseAddrs.RPC = ""
160160
conf.AdvertiseAddrs.Serf = "10.0.0.12:4004"
161161

0 commit comments

Comments
 (0)