Skip to content

Commit

Permalink
Merge pull request #53 from skycoin/fix/service-disc-value
Browse files Browse the repository at this point in the history
fix service disc value
  • Loading branch information
nkryuchkov authored Oct 23, 2020
2 parents b616a55 + 8204bbe commit 15fcbcf
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion pkg/prepconf/prepare.go
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 15fcbcf

Please sign in to comment.