diff options
author | Sascha Grunert <sgrunert@redhat.com> | 2022-07-05 12:13:31 +0200 |
---|---|---|
committer | Sascha Grunert <sgrunert@redhat.com> | 2022-07-05 12:13:33 +0200 |
commit | 49cb288df3224da71556e27d2e73e06d446c61f2 (patch) | |
tree | 7a69d9bbc60eb067f0e39d275648e10d577d5f22 /utils/utils_windows.go | |
parent | 773eead54e2e0877e92d5871625a6cc32c582d30 (diff) | |
download | podman-49cb288df3224da71556e27d2e73e06d446c61f2.tar.gz podman-49cb288df3224da71556e27d2e73e06d446c61f2.tar.bz2 podman-49cb288df3224da71556e27d2e73e06d446c61f2.zip |
hack/test/utils: switch to golang native error wrapping
We now use the golang error wrapping format specifier `%w` instead of
the deprecated github.com/pkg/errors package.
[NO NEW TESTS NEEDED]
Signed-off-by: Sascha Grunert <sgrunert@redhat.com>
Diffstat (limited to 'utils/utils_windows.go')
-rw-r--r-- | utils/utils_windows.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/utils_windows.go b/utils/utils_windows.go index 1d017f5ae..18f232116 100644 --- a/utils/utils_windows.go +++ b/utils/utils_windows.go @@ -3,7 +3,7 @@ package utils -import "github.com/pkg/errors" +import "errors" func RunUnderSystemdScope(pid int, slice string, unitName string) error { return errors.New("not implemented for windows") |