Commit Graph

31 Commits

Author SHA1 Message Date
1d33190529 fixup conditions
Some checks failed
build / test (push) Has been cancelled
build / lint (push) Has been cancelled
codeql / analyze (go) (push) Has been cancelled
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2024-01-15 01:18:51 +03:00
4030b1d131 allow to override Struct on Save
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2023-03-15 00:03:33 +03:00
5da1e0ea33 config: proper handle AllowFail option
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2023-03-14 13:41:44 +03:00
3ae987b4f4 merge micro config improvements
* update micro to latest release
* use Before/After Init funcs

Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2023-03-14 10:53:38 +03:00
f8b972b51a allow to override path in save/load/watch
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-11-18 16:06:25 +03:00
80462220e2 update import paths
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-10-26 23:00:25 +03:00
a4002ae8eb update for latest micro
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-09-30 01:28:03 +03:00
e0cbe28c8f add debug to init func
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-09-30 00:42:48 +03:00
ad6912beef add more logging
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-09-30 00:39:49 +03:00
30826a6959 config: minor changes to split config and watcher files
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-08-04 13:53:22 +03:00
0501ba2bac watcher send changes only on non nil
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-08-04 12:26:19 +03:00
7828935a5b implement watcher
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-08-04 01:38:44 +03:00
fcfa2f31d8 display path on error
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-07-29 11:14:21 +03:00
461d038f01 display path on error
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-07-29 11:13:26 +03:00
a3438bcc2f update
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-06-21 16:05:51 +03:00
afb3ef068d implement Save
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-05-08 17:07:38 +03:00
1cef3ee123 honor AllowFail option
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-03-05 16:57:37 +03:00
7c920df966 update for latest micro
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-01-29 16:20:57 +03:00
0ffcff86f9 update to micro v3.1.2
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-01-19 03:13:45 +03:00
5d62bf3f09 fix merge
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2020-12-20 00:33:52 +03:00
e493535c3a merge instead of overwrite
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2020-12-20 00:31:02 +03:00
0e7901b2fc update for micro changes
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2020-12-19 23:24:25 +03:00
b3f0be323c before/after config stuff handled by implementations
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2020-12-18 03:39:35 +03:00
55ce153545 more descriptive error messages
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2020-12-13 19:08:13 +03:00
33521493f4 update micro
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2020-12-13 13:30:00 +03:00
d275b4643a update micro
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2020-12-13 13:22:46 +03:00
ba31191b74 use codec to unmarshal
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2020-12-11 02:15:59 +03:00
bdc6232ea9 use codec to unmarshal
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2020-12-11 02:12:36 +03:00
4c529af53f add feature tls config stuff
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2020-12-09 13:21:48 +03:00
883757b7f8 use micro logger instead of hclog.Logger
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2020-12-09 13:15:36 +03:00
5912af307d initial import
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2020-12-08 00:58:12 +03:00