From 49cb288df3224da71556e27d2e73e06d446c61f2 Mon Sep 17 00:00:00 2001 From: Sascha Grunert Date: Tue, 5 Jul 2022 12:13:31 +0200 Subject: 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 --- utils/utils_windows.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'utils/utils_windows.go') 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") -- cgit v1.2.3-54-g00ecf