diff options
author | Wolfy-J <[email protected]> | 2020-02-23 14:14:05 +0300 |
---|---|---|
committer | Wolfy-J <[email protected]> | 2020-02-23 14:14:05 +0300 |
commit | 9ef9dfed7928e9a96b9545074f8aeb1468fda46c (patch) | |
tree | a50850ed8d74cf72964ae755e7e4790c8694a043 /service/reload/config_test.go | |
parent | 6a23ccdcda44ea8d90eb174ce3aab99d6b67b495 (diff) |
- need batching
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 +} |