diff --git a/network/default.go b/network/default.go index ba31d7c5..969aed5f 100644 --- a/network/default.go +++ b/network/default.go @@ -64,6 +64,7 @@ func newNetwork(opts ...Option) Network { // srv is network server srv := server.NewServer( + server.Name(DefaultName), server.Transport(tunTransport), ) diff --git a/network/network.go b/network/network.go index 3663876f..46801e0c 100644 --- a/network/network.go +++ b/network/network.go @@ -10,7 +10,7 @@ import ( var ( // DefaultName is default network name - DefaultName = "go.micro.network" + DefaultName = "go.micro" // DefaultAddress is default network address DefaultAddress = ":0" // ResolveTime ddefines the time to periodically resolve network nodes