From 346a54ccd973ebc396153137492b4c93715cd308 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=A8=E5=88=9A=20=20=28=E6=88=90=E9=83=BD=29?= Date: Mon, 20 Feb 2023 23:39:06 +0800 Subject: [PATCH] Cleanup : github.com/pkg/errors has been archived. (#1035) Signed-off-by: yanggang --- go.mod | 2 +- pkg/logging/logging.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/go.mod b/go.mod index cba57a8c8..814a7a69a 100644 --- a/go.mod +++ b/go.mod @@ -11,7 +11,7 @@ require ( github.com/k8snetworkplumbingwg/network-attachment-definition-client v1.4.0 github.com/onsi/ginkgo/v2 v2.5.1 github.com/onsi/gomega v1.24.0 - github.com/pkg/errors v0.9.1 + github.com/pkg/errors v0.9.1 // indirect github.com/vishvananda/netlink v1.1.1-0.20210330154013-f5de75959ad5 golang.org/x/net v0.7.0 golang.org/x/sys v0.5.0 diff --git a/pkg/logging/logging.go b/pkg/logging/logging.go index 7b6730e7c..4cf001e8d 100644 --- a/pkg/logging/logging.go +++ b/pkg/logging/logging.go @@ -16,13 +16,13 @@ package logging import ( + "errors" "fmt" "io" "os" "strings" "time" - "github.com/pkg/errors" lumberjack "gopkg.in/natefinch/lumberjack.v2" )