Fixed sugestion from jesse

This commit is contained in:
mjarkk 2019-07-26 16:06:46 +02:00
parent 625c4a5084
commit 5b3cdcd0aa
No known key found for this signature in database
GPG key ID: 147D0BE9258C6C95

View file

@ -196,7 +196,6 @@ type UpdateConfig struct {
// It expects a valid duration like: 100ms, 2s, 200ns
// for docs see: https://golang.org/pkg/time/#ParseDuration
DockerRefreshInterval time.Duration `yaml:"dockerRefreshInterval,omitempty"`
Method string `yaml:"method,omitempty"`
}
// GraphConfig specifies how to make a graph of recorded container stats
@ -349,7 +348,6 @@ func GetDefaultConfig() UserConfig {
OS: GetPlatformDefaultConfig(),
Update: UpdateConfig{
DockerRefreshInterval: time.Millisecond * 100,
Method: "never",
},
Stats: StatsConfig{
MaxDuration: duration,