diff --git a/pkg/prepconf/prepare.go b/pkg/prepconf/prepare.go index f4c83840..0404cc99 100644 --- a/pkg/prepconf/prepare.go +++ b/pkg/prepconf/prepare.go @@ -120,7 +120,10 @@ func generateVisorConfig(_ Config, bp boot.Params) (interface{}, error) { out.ShutdownTimeout = visorconfig.DefaultTimeout out.RestartCheckDelay = restart.DefaultCheckDelay.String() out.Launcher = &visorconfig.V1Launcher{ - Discovery: nil, + Discovery: &visorconfig.V1AppDisc{ + ServiceDisc: skyenv.DefaultServiceDiscAddr, + UpdateInterval: visorconfig.Duration(skyenv.AppDiscUpdateInterval), + }, Apps: []launcher.AppConfig{ { Name: skyenv.SkychatName,