Skip to content

Commit

Permalink
chore: delete used modules
Browse files Browse the repository at this point in the history
Signed-off-by: xcaspar <[email protected]>
  • Loading branch information
xcaspar committed May 27, 2020
1 parent 15834f1 commit be76534
Show file tree
Hide file tree
Showing 3 changed files with 92 additions and 11 deletions.
2 changes: 1 addition & 1 deletion exec/kubernetes/executor.go
Original file line number Diff line number Diff line change
Expand Up @@ -368,7 +368,7 @@ func newClient(kubeConfig string) (client.Client, error) {
}
clusterConfig.ContentConfig.GroupVersion = &v1alpha1.SchemeGroupVersion
clusterConfig.APIPath = "/apis"
clusterConfig.NegotiatedSerializer = serializer.DirectCodecFactory{CodecFactory: scheme.Codecs}
clusterConfig.NegotiatedSerializer = serializer.WithoutConversionCodecFactory{CodecFactory: scheme.Codecs}
clusterConfig.UserAgent = rest.DefaultKubernetesUserAgent()
scheme, err := v1alpha1.SchemeBuilder.Build()
if err != nil {
Expand Down
11 changes: 1 addition & 10 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -9,22 +9,13 @@ require (
github.com/chaosblade-io/chaosblade-spec-go v0.6.0
github.com/gregjones/httpcache v0.0.0-20190611155906-901d90724c79 // indirect
github.com/mattn/go-sqlite3 v1.10.1-0.20190217174029-ad30583d8387
github.com/peterbourgon/diskv v2.0.1+incompatible // indirect
github.com/prometheus/common v0.9.1
github.com/shirou/gopsutil v2.19.9+incompatible
github.com/sirupsen/logrus v1.5.0
github.com/spf13/cobra v0.0.5
github.com/spf13/pflag v1.0.5
golang.org/x/crypto v0.0.0-20200128174031-69ecbb4d6d5d
golang.org/x/crypto v0.0.0-20200220183623-bac4c82f6975
k8s.io/apimachinery v0.17.4
k8s.io/client-go v12.0.0+incompatible
sigs.k8s.io/controller-runtime v0.5.3
)

// Pinned to kubernetes-1.13.11
replace (
k8s.io/api => k8s.io/api v0.0.0-20190817221950-ebce17126a01
k8s.io/apiextensions-apiserver => k8s.io/apiextensions-apiserver v0.0.0-20190919022157-e8460a76b3ad
k8s.io/apimachinery => k8s.io/apimachinery v0.0.0-20190817221809-bf4de9df677c
k8s.io/client-go => k8s.io/client-go v0.0.0-20190817222206-ee6c071a42cf
)
Loading

0 comments on commit be76534

Please sign in to comment.