mirror of
https://github.com/openziti/ziti.git
synced 2026-10-13 07:41:17 +00:00
Ensure router gets version set. Fixes netfoundry/ziti-edge#116
This commit is contained in:
+6
-2
@@ -17,12 +17,14 @@
|
||||
package main
|
||||
|
||||
import (
|
||||
"github.com/michaelquigley/pfxlog"
|
||||
"github.com/netfoundry/ziti-cmd/common/version"
|
||||
"github.com/netfoundry/ziti-cmd/ziti-router/subcmd"
|
||||
"github.com/netfoundry/ziti-edge/build"
|
||||
"github.com/netfoundry/ziti-foundation/transport"
|
||||
"github.com/netfoundry/ziti-foundation/transport/quic"
|
||||
"github.com/netfoundry/ziti-foundation/transport/tcp"
|
||||
"github.com/netfoundry/ziti-foundation/transport/tls"
|
||||
"github.com/michaelquigley/pfxlog"
|
||||
"github.com/sirupsen/logrus"
|
||||
)
|
||||
|
||||
@@ -32,8 +34,10 @@ func init() {
|
||||
transport.AddAddressParser(quic.AddressParser{})
|
||||
transport.AddAddressParser(tls.AddressParser{})
|
||||
transport.AddAddressParser(tcp.AddressParser{})
|
||||
|
||||
build.InitBuildInfo(version.GetCmdBuildInfo())
|
||||
}
|
||||
|
||||
func main() {
|
||||
subcmd.Execute()
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user