Matthieu MOREL
d12b81dec5
ci(lint): setup golangci-lint
...
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
2023-03-01 06:55:40 +00:00
Austin Vazquez
1a6f478913
Remove references to io/ioutil package
...
Signed-off-by: Austin Vazquez <macedonv@amazon.com>
2022-12-01 22:27:05 +00:00
edef
ceb34eb2e6
Don't redundantly filepath.Clean the output of filepath.Join
...
filepath.Join is already specified to clean its output,
and the implementation indeed does so.
Signed-off-by: edef <edef@edef.eu>
2021-09-17 14:12:46 +00:00
Bruce Ma
37207f05b4
pkg/utils: sysctl package should use black-box testing
...
Signed-off-by: Bruce Ma <brucema19901024@gmail.com>
2020-01-27 21:09:04 +08:00
Jaime Caamaño Ruiz
963aaf86e6
Format with gofmt
...
Signed-off-by: Jaime Caamaño Ruiz <jcaamano@suse.com>
2020-01-13 19:44:40 +01:00
Jaime Caamaño Ruiz
d671d29ad5
Improve support of sysctl name seprators
...
Sysctl names can use dots or slashes as separator:
- if dots are used, dots and slashes are interchanged.
- if slashes are used, slashes and dots are left intact.
Separator in use is determined by firt ocurrence.
Reference: http://man7.org/linux/man-pages/man5/sysctl.d.5.html
Signed-off-by: Jaime Caamaño Ruiz <jcaamano@suse.com>
2020-01-13 14:40:42 +01:00
Casey Callendrello
8b43e90949
Add 'pkg/' from commit 'a11be4d7596203874b742b6597caf255204c56c3'
...
git-subtree-dir: pkg
git-subtree-mainline: dcf7368eeab15e2affc6256f0bb1e84dd46a34de
git-subtree-split: a11be4d7596203874b742b6597caf255204c56c3
2017-05-19 19:43:02 +02:00