Shubhendra Singh Chauhan
26b859c4f9
improve code quality ( #2128 )
...
* Fix inefficient string comparison
* Fix unnecessary calls to Printf
* Canonicalize header key
* Replace `t.Sub(time.Now())` with `time.Until`
* Remove unnecessary blank (_) identifier
* Remove unnecessary use of slice
* Remove unnecessary comparison with bool
2021-02-25 08:30:35 +00:00
Asim Aslam
d94936f6c9
v3 ( #2104 )
...
* v3
* revert plugins
* fixup some issues
2021-01-20 13:54:31 +00:00
sunfuze
81aa8e0231
Fix config watch ( #1670 )
...
* add dirty overrite test case
* need version to figure out if config need update or not
* using nanosecond as version for two goroutine can run in same second
* config should check snapshot version when update
* set checksum of ChangeSet
Co-authored-by: Asim Aslam <asim@aslam.me>
2020-07-03 11:30:59 +01:00
Lars Lehtonen
80f2bfd5d0
config: remove unused sep variable ( #1262 )
2020-02-26 08:25:33 +00:00
Vasiliy Tolstov
f23638c036
fix import paths for v2 release
...
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2020-01-30 14:44:40 +03:00
Allenxuxu
a82fd19209
handle Loader.Load return value error
2020-01-19 16:31:02 +08:00
Milos Gajdos
86f0c06fac
Removed filewatch counter test.
2019-08-21 11:26:41 +01:00
Milos Gajdos
4ea27517b5
Source watcher ErrStoppedWatcher and fixed test
2019-08-20 22:32:47 +01:00
Shu Xian
2413cbcd80
fix file watcher event bug on Linux
...
the watcher can not normally get events of file changes on linux. it just can get the first two changes.
2019-08-19 15:28:24 +08:00
Asim Aslam
2b5bf1154a
rename config tests
2019-07-28 19:52:01 +01:00
Asim Aslam
5e6491b7b0
add config
2019-05-30 23:11:13 +01:00