Skip to content

Commit

Permalink
moved away from deprecated shurcooL ctxhttp (#483)
Browse files Browse the repository at this point in the history
  • Loading branch information
neel-astro committed Jan 27, 2022
1 parent 0621377 commit 01f98c5
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 85 deletions.
3 changes: 1 addition & 2 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,14 @@ require (
github.com/json-iterator/go v1.1.11
github.com/mitchellh/go-homedir v1.1.0
github.com/moby/buildkit v0.9.3
github.com/shurcooL/go v0.0.0-20180423040247-9e1955d9fb6e
github.com/sirupsen/logrus v1.8.1
github.com/spf13/afero v1.6.0
github.com/spf13/cobra v1.2.1
github.com/spf13/viper v1.8.1
github.com/stretchr/testify v1.7.0
github.com/whilp/git-urls v1.0.0
golang.org/x/crypto v0.0.0-20210711020723-a769d52b0f97
golang.org/x/net v0.0.0-20210520170846-37e1c6afe023
gopkg.in/yaml.v2 v2.4.0
)

Expand Down Expand Up @@ -182,7 +182,6 @@ require (
go.opentelemetry.io/otel/sdk v1.0.0-RC1 // indirect
go.opentelemetry.io/otel/trace v1.0.0-RC1 // indirect
go.opentelemetry.io/proto/otlp v0.9.0 // indirect
golang.org/x/net v0.0.0-20210520170846-37e1c6afe023 // indirect
golang.org/x/oauth2 v0.0.0-20210402161424-2e8d93401602 // indirect
golang.org/x/sync v0.0.0-20210220032951-036812b2e83c // indirect
golang.org/x/sys v0.0.0-20211025201205-69cdffdb9359 // indirect
Expand Down
1 change: 0 additions & 1 deletion go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -1429,7 +1429,6 @@ github.com/sergi/go-diff v1.1.0/go.mod h1:STckp+ISIX8hZLjrqAeVduY0gWCT9IjLuqbuNX
github.com/serialx/hashring v0.0.0-20190422032157-8b2912629002/go.mod h1:/yeG0My1xr/u+HZrFQ1tOQQQQrOawfyMUH13ai5brBc=
github.com/shirou/gopsutil v0.0.0-20190901111213-e4ec7b275ada/go.mod h1:WWnYX4lzhCH5h/3YBfyVA3VbLYjlMZZAQcW9ojMexNc=
github.com/shirou/w32 v0.0.0-20160930032740-bb4de0191aa4/go.mod h1:qsXQc7+bwAM3Q1u/4XEfrquwF8Lw7D7y5cD8CuHnfIc=
github.com/shurcooL/go v0.0.0-20180423040247-9e1955d9fb6e h1:MZM7FHLqUHYI0Y/mQAt3d2aYa0SiNms/hFqC9qJYolM=
github.com/shurcooL/go v0.0.0-20180423040247-9e1955d9fb6e/go.mod h1:TDJrrUr11Vxrven61rcy3hJMUqaf/CLWYhHNPmT14Lk=
github.com/shurcooL/go-goon v0.0.0-20170922171312-37c2f522c041/go.mod h1:N5mDOmsrJOB+vfqUK+7DmDyjhSLIIBnXo9lvZJj3MWQ=
github.com/shurcooL/sanitized_anchor_name v1.0.0/go.mod h1:1NzhyTcUVG4SuEtjjoZeVRXNmyL/1OwPU0+IJeTBvfc=
Expand Down
2 changes: 1 addition & 1 deletion pkg/httputil/http.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ import (
"net/http/httputil"
"time"

"github.com/shurcooL/go/ctxhttp"
log "github.com/sirupsen/logrus"
"golang.org/x/net/context/ctxhttp"
)

// HTTPClient returns an HTTP Client struct that can execute HTTP requests
Expand Down
78 changes: 0 additions & 78 deletions vendor/github.com/shurcooL/go/ctxhttp/ctxhttp.go

This file was deleted.

3 changes: 0 additions & 3 deletions vendor/modules.txt
Original file line number Diff line number Diff line change
Expand Up @@ -837,9 +837,6 @@ github.com/sanathkr/go-yaml
# github.com/seccomp/libseccomp-golang v0.9.2-0.20200616122406-847368b35ebf
## explicit; go 1.14
github.com/seccomp/libseccomp-golang
# github.com/shurcooL/go v0.0.0-20180423040247-9e1955d9fb6e
## explicit
github.com/shurcooL/go/ctxhttp
# github.com/sirupsen/logrus v1.8.1
## explicit; go 1.13
github.com/sirupsen/logrus
Expand Down

0 comments on commit 01f98c5

Please sign in to comment.