diff options
Diffstat (limited to 'service/reload/config_test.go')
-rw-r--r-- | service/reload/config_test.go | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/service/reload/config_test.go b/service/reload/config_test.go index dd9a2797..c9c05a1e 100644 --- a/service/reload/config_test.go +++ b/service/reload/config_test.go @@ -17,7 +17,6 @@ func Test_Config_Valid(t *testing.T) { } cfg := &Config{ - Enabled: true, Interval: time.Second, Patterns: nil, Services: services, @@ -28,7 +27,6 @@ func Test_Config_Valid(t *testing.T) { func Test_Fake_ServiceConfig(t *testing.T) { services := make(map[string]ServiceConfig) cfg := &Config{ - Enabled: true, Interval: time.Second, Patterns: nil, Services: services, @@ -39,7 +37,6 @@ func Test_Fake_ServiceConfig(t *testing.T) { func Test_Interval(t *testing.T) { services := make(map[string]ServiceConfig) cfg := &Config{ - Enabled: true, Interval: time.Millisecond, Patterns: nil, Services: services, @@ -50,10 +47,9 @@ func Test_Interval(t *testing.T) { func Test_NoServiceConfig(t *testing.T) { services := make(map[string]ServiceConfig) cfg := &Config{ - Enabled: true, Interval: time.Millisecond, Patterns: nil, Services: services, } assert.Error(t, cfg.Valid()) -}
\ No newline at end of file +} |