diff --git a/Godeps/Godeps.json b/Godeps/Godeps.json index 0cd39aa3..08ceeacf 100644 --- a/Godeps/Godeps.json +++ b/Godeps/Godeps.json @@ -440,11 +440,11 @@ }, { "ImportPath": "k8s.io/api", - "Rev": "051d027c14e1" + "Rev": "af6c97a0fc38" }, { "ImportPath": "k8s.io/apimachinery", - "Rev": "1bdd76d09076" + "Rev": "1b2290d8cf15" }, { "ImportPath": "k8s.io/gengo", diff --git a/discovery/discovery_client.go b/discovery/discovery_client.go index 6c8e87e2..57404e0b 100644 --- a/discovery/discovery_client.go +++ b/discovery/discovery_client.go @@ -501,7 +501,7 @@ func NewDiscoveryClientForConfigOrDie(c *restclient.Config) *DiscoveryClient { } -// NewDiscoveryClient returns a new DiscoveryClient for the given RESTClient. +// NewDiscoveryClient returns a new DiscoveryClient for the given RESTClient. func NewDiscoveryClient(c restclient.Interface) *DiscoveryClient { return &DiscoveryClient{restClient: c, LegacyPrefix: "/api"} } diff --git a/go.mod b/go.mod index e85e8b16..8b5f1d1e 100644 --- a/go.mod +++ b/go.mod @@ -26,14 +26,14 @@ require ( golang.org/x/net v0.0.0-20200707034311-ab3426394381 golang.org/x/oauth2 v0.0.0-20191202225959-858c2ad4c8b6 golang.org/x/time v0.0.0-20191024005414-555d28b269f0 - k8s.io/api v0.0.0-20200821051526-051d027c14e1 - k8s.io/apimachinery v0.0.0-20200827091422-1bdd76d09076 + k8s.io/api v0.0.0-20200827171543-af6c97a0fc38 + k8s.io/apimachinery v0.0.0-20200827211416-1b2290d8cf15 k8s.io/klog/v2 v2.2.0 k8s.io/utils v0.0.0-20200729134348-d5654de09c73 sigs.k8s.io/yaml v1.2.0 ) replace ( - k8s.io/api => k8s.io/api v0.0.0-20200821051526-051d027c14e1 - k8s.io/apimachinery => k8s.io/apimachinery v0.0.0-20200827091422-1bdd76d09076 + k8s.io/api => k8s.io/api v0.0.0-20200827171543-af6c97a0fc38 + k8s.io/apimachinery => k8s.io/apimachinery v0.0.0-20200827211416-1b2290d8cf15 ) diff --git a/go.sum b/go.sum index fe08b20b..98b33d6e 100644 --- a/go.sum +++ b/go.sum @@ -333,8 +333,8 @@ honnef.co/go/tools v0.0.0-20190106161140-3f1c8253044a/go.mod h1:rf3lG4BRIbNafJWh honnef.co/go/tools v0.0.0-20190418001031-e561f6794a2a/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= honnef.co/go/tools v0.0.0-20190523083050-ea95bdfd59fc/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= honnef.co/go/tools v0.0.1-2019.2.3/go.mod h1:a3bituU0lyd329TUQxRnasdCoJDkEUEAqEt0JzvZhAg= -k8s.io/api v0.0.0-20200821051526-051d027c14e1/go.mod h1:6DKPkNII5GHfkmzU2WRXuDEJXvErpzTgkC/GRlsMFOQ= -k8s.io/apimachinery v0.0.0-20200827091422-1bdd76d09076/go.mod h1:DnPGDnARWFvYa3pMHgSxtbZb7gpzzAZ1pTfaUNDVlmA= +k8s.io/api v0.0.0-20200827171543-af6c97a0fc38/go.mod h1:ZPrpciYrawB63sVOSyRCIMMzmrE4ndsAt46dk7rQ6fU= +k8s.io/apimachinery v0.0.0-20200827211416-1b2290d8cf15/go.mod h1:DnPGDnARWFvYa3pMHgSxtbZb7gpzzAZ1pTfaUNDVlmA= k8s.io/gengo v0.0.0-20200413195148-3a45101e95ac/go.mod h1:ezvh/TsK7cY6rbqRK0oQQ8IAqLxYwwyPxAX1Pzy0ii0= k8s.io/klog/v2 v2.0.0/go.mod h1:PBfzABfn139FHAV07az/IF9Wp1bkk3vpT2XSJ76fSDE= k8s.io/klog/v2 v2.2.0 h1:XRvcwJozkgZ1UQJmfMGpvRthQHOvihEhYtDfAaxMz/A= diff --git a/rest/config.go b/rest/config.go index 6e50eef5..48cf51f6 100644 --- a/rest/config.go +++ b/rest/config.go @@ -203,7 +203,7 @@ type TLSClientConfig struct { // Server should be accessed without verifying the TLS certificate. For testing only. Insecure bool // ServerName is passed to the server for SNI and is used in the client to check server - // ceritificates against. If ServerName is empty, the hostname used to contact the + // certificates against. If ServerName is empty, the hostname used to contact the // server is used. ServerName string diff --git a/rest/request.go b/rest/request.go index 0ed7def7..2f747a28 100644 --- a/rest/request.go +++ b/rest/request.go @@ -638,7 +638,7 @@ func (b *throttledLogger) attemptToLog() (klog.Level, bool) { return -1, false } -// Infof will write a log message at each logLevel specified by the reciever's throttleSettings +// Infof will write a log message at each logLevel specified by the receiver's throttleSettings // as long as it hasn't written a log message more recently than minLogInterval. func (b *throttledLogger) Infof(message string, args ...interface{}) { if logLevel, ok := b.attemptToLog(); ok {