1
0
mirror of https://github.com/go-micro/go-micro.git synced 2025-08-10 21:52:01 +02:00

web: fix advertise address (#1608)

* web: fix advertise address
* web: fix test

Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
Co-authored-by: Asim Aslam <asim@aslam.me>
Co-authored-by: Vasiliy Tolstov <v.tolstov@unistack.org>
This commit is contained in:
gggwvg
2020-05-08 17:31:03 +08:00
committed by GitHub
parent f062013a7b
commit d61df6363b
2 changed files with 2 additions and 2 deletions

View File

@@ -164,7 +164,7 @@ func TestOptions(t *testing.T) {
id = "service-id"
version = "service-version"
address = "service-addr:8080"
advertise = "service-adv"
advertise = "service-adv:8080"
reg = memory.NewRegistry()
registerTTL = 123 * time.Second
registerInterval = 456 * time.Second