diff options
author | Valery Piashchynski <[email protected]> | 2022-05-12 17:06:37 +0200 |
---|---|---|
committer | Valery Piashchynski <[email protected]> | 2022-05-12 17:06:37 +0200 |
commit | 53bbf3e29a25a4751a7d31ce4b31f4d724a244c4 (patch) | |
tree | 0858d722f11f8e871749203cbf24f536eb4c462e /internal/container/config.go | |
parent | 0b823ea7271645bb214c8a05ee02cb3d4b994872 (diff) |
deps: update dependencies
Diffstat (limited to 'internal/container/config.go')
-rw-r--r-- | internal/container/config.go | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/internal/container/config.go b/internal/container/config.go index 71deafc2..fb5b028e 100644 --- a/internal/container/config.go +++ b/internal/container/config.go @@ -11,7 +11,6 @@ import ( type Config struct { GracePeriod time.Duration PrintGraph bool - RetryOnFail bool // TODO check for races, disabled at this moment LogLevel endure.Level } @@ -34,7 +33,6 @@ func NewConfig(cfgFile string) (*Config, error) { return &Config{ // return config with defaults GracePeriod: defaultGracePeriod, PrintGraph: false, - RetryOnFail: false, LogLevel: endure.ErrorLevel, }, nil } @@ -42,7 +40,6 @@ func NewConfig(cfgFile string) (*Config, error) { rrCfgEndure := struct { GracePeriod time.Duration `mapstructure:"grace_period"` PrintGraph bool `mapstructure:"print_graph"` - RetryOnFail bool `mapstructure:"retry_on_fail"` LogLevel string `mapstructure:"log_level"` }{} @@ -67,7 +64,6 @@ func NewConfig(cfgFile string) (*Config, error) { return &Config{ GracePeriod: rrCfgEndure.GracePeriod, PrintGraph: rrCfgEndure.PrintGraph, - RetryOnFail: rrCfgEndure.RetryOnFail, LogLevel: logLevel, }, nil } |