Skip to content

Commit

Permalink
Add uptime-tracker to config
Browse files Browse the repository at this point in the history
# Conflicts:
#	cmd/skywire-cli/commands/node/gen-config.go
#	pkg/node/config.go
  • Loading branch information
nkryuchkov committed Aug 21, 2019
1 parent 4d43269 commit f9ec675
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cmd/skywire-cli/commands/node/gen-config.go
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,8 @@ func defaultConfig() *visor.Config {

conf.Hypervisors = []visor.HypervisorConfig{}

conf.Uptime.Tracker = ""

conf.AppsPath = "./apps"
conf.LocalPath = "./local"

Expand Down
4 changes: 4 additions & 0 deletions pkg/visor/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,10 @@ type Config struct {
} `json:"table"`
} `json:"routing"`

Uptime struct {
Tracker string `json:"tracker"`
} `json:"uptime"`

Apps []AppConfig `json:"apps"`

TrustedNodes []cipher.PubKey `json:"trusted_nodes"`
Expand Down

0 comments on commit f9ec675

Please sign in to comment.