Skip to content
Snippets Groups Projects
Unverified Commit be3dbc2b authored by godcong's avatar godcong Committed by GitHub
Browse files

fix(discovery): fix daemon not starting due to mdns startup failure (#8704)

parent 83b3ec4a
Branches
Tags
No related merge requests found
......@@ -42,7 +42,8 @@ func SetupDiscovery(useMdns bool, mdnsInterval int) func(helpers.MetricsCtx, fx.
if useMdns {
service := mdns.NewMdnsService(host, mdns.ServiceName, handler)
if err := service.Start(); err != nil {
return err
log.Error("error starting mdns service: ", err)
return nil
}
if mdnsInterval == 0 {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment