Skip to content

Commit

Permalink
Merge pull request #2581 from saschagrunert/pkg-errors
Browse files Browse the repository at this point in the history
Remove `github.com/pkg/errors` from direct dependencies
  • Loading branch information
k8s-ci-robot authored Jun 21, 2022
2 parents 5c3f515 + d139c02 commit 0da1c9f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions cmd/krel/cmd/ci_build.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ package cmd
import (
"fmt"

"github.com/pkg/errors"
"github.com/spf13/cobra"

"k8s.io/release/pkg/build"
Expand Down Expand Up @@ -50,7 +49,7 @@ var ciBuildCmd = &cobra.Command{
SilenceErrors: true,
RunE: func(cmd *cobra.Command, args []string) error {
if err := runCIBuild(ciBuildOpts); err != nil {
return errors.Wrap(err, "failed to run")
return fmt.Errorf("failed to run: %w", err)
}

return nil
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ require (
github.com/mitchellh/mapstructure v1.5.0
github.com/nozzle/throttler v0.0.0-20180817012639-2ea982251481
github.com/olekukonko/tablewriter v0.0.5
github.com/pkg/errors v0.9.1
github.com/psampaz/go-mod-outdated v0.8.0
github.com/saschagrunert/go-modiff v1.3.0
github.com/sendgrid/rest v2.6.9+incompatible
Expand Down Expand Up @@ -209,6 +208,7 @@ require (
github.com/package-url/packageurl-go v0.1.1-0.20220203205134-d70459300c8a // indirect
github.com/pelletier/go-toml v1.9.5 // indirect
github.com/pelletier/go-toml/v2 v2.0.1 // indirect
github.com/pkg/errors v0.9.1 // indirect
github.com/pmezard/go-difflib v1.0.0 // indirect
github.com/power-devops/perfstat v0.0.0-20210106213030-5aafc221ea8c // indirect
github.com/prometheus/client_golang v1.12.1 // indirect
Expand Down

0 comments on commit 0da1c9f

Please sign in to comment.