Commit Graph

5 Commits

Author SHA1 Message Date
Sascha Grunert 426d69c00f Switch to golang native error wrapping
`github.com/pkg/errors` is deprecated since quite some time so we now
use the native error wrapping for more idiomatic golang.

Signed-off-by: Sascha Grunert <sgrunert@redhat.com>
2022-07-12 10:54:07 +02:00
xatier 8fbbdd14fc Update pkg/sysctl/sysctl.go
Co-authored-by: Valentin Rothberg <rothberg@redhat.com>
2021-08-19 19:29:53 -07:00
xatier d35d150bf7 Update pkg/sysctl/sysctl.go
Co-authored-by: Valentin Rothberg <rothberg@redhat.com>
2021-08-17 09:53:55 -05:00
xatier 6b081c39b1 Add space trimming check in sysctl.Validate
Sync with https://github.com/containers/podman/pull/11224

Signed-off-by: Yan-Ming Li <xatierlike@gmail.com>
2021-08-17 09:52:26 -05:00
xatier 85fb393029 Fix `pkg/sysctl` path typo
Closes: containers/common#730
Signed-off-by: xatier <xatierlike@gmail.com>
2021-08-16 20:36:46 -05:00