mirror of
https://github.com/jesseduffield/lazydocker.git
synced 2026-07-23 23:51:03 +00:00
Fixed sugestion from jesse
This commit is contained in:
parent
625c4a5084
commit
5b3cdcd0aa
1 changed files with 0 additions and 2 deletions
|
|
@ -196,7 +196,6 @@ type UpdateConfig struct {
|
||||||
// It expects a valid duration like: 100ms, 2s, 200ns
|
// It expects a valid duration like: 100ms, 2s, 200ns
|
||||||
// for docs see: https://golang.org/pkg/time/#ParseDuration
|
// for docs see: https://golang.org/pkg/time/#ParseDuration
|
||||||
DockerRefreshInterval time.Duration `yaml:"dockerRefreshInterval,omitempty"`
|
DockerRefreshInterval time.Duration `yaml:"dockerRefreshInterval,omitempty"`
|
||||||
Method string `yaml:"method,omitempty"`
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// GraphConfig specifies how to make a graph of recorded container stats
|
// GraphConfig specifies how to make a graph of recorded container stats
|
||||||
|
|
@ -349,7 +348,6 @@ func GetDefaultConfig() UserConfig {
|
||||||
OS: GetPlatformDefaultConfig(),
|
OS: GetPlatformDefaultConfig(),
|
||||||
Update: UpdateConfig{
|
Update: UpdateConfig{
|
||||||
DockerRefreshInterval: time.Millisecond * 100,
|
DockerRefreshInterval: time.Millisecond * 100,
|
||||||
Method: "never",
|
|
||||||
},
|
},
|
||||||
Stats: StatsConfig{
|
Stats: StatsConfig{
|
||||||
MaxDuration: duration,
|
MaxDuration: duration,
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue