diff --git a/pkg/client/unversioned/request.go b/pkg/client/unversioned/request.go index afe491dcbf4..f6d964e87ba 100644 --- a/pkg/client/unversioned/request.go +++ b/pkg/client/unversioned/request.go @@ -649,7 +649,7 @@ func (r *Request) Upgrade(config *Config, newRoundTripperFunc func(*tls.Config) } // request connects to the server and invokes the provided function when a server response is -// received. It handles retry behavior and up front validation of requests. It wil invoke +// received. It handles retry behavior and up front validation of requests. It will invoke // fn at most once. It will return an error if a problem occurred prior to connecting to the // server - the provided function is responsible for handling server errors. func (r *Request) request(fn func(*http.Request, *http.Response)) error { diff --git a/pkg/util/jsonpath/jsonpath_test.go b/pkg/util/jsonpath/jsonpath_test.go index 6a79d9fdfc6..3345aee85b6 100644 --- a/pkg/util/jsonpath/jsonpath_test.go +++ b/pkg/util/jsonpath/jsonpath_test.go @@ -190,8 +190,8 @@ func TestJSONInput(t *testing.T) { testJSONPath(pointsTests, t) } -// TestKubenates tests some use cases from kubenates -func TestKubenates(t *testing.T) { +// TestKubernetes tests some use cases from kubernetes +func TestKubernetes(t *testing.T) { var input = []byte(`{ "kind": "List", "items":[ diff --git a/pkg/volume/downwardapi/downwardapi.go b/pkg/volume/downwardapi/downwardapi.go index 860b9025cae..6772bf981a2 100644 --- a/pkg/volume/downwardapi/downwardapi.go +++ b/pkg/volume/downwardapi/downwardapi.go @@ -148,7 +148,7 @@ func (b *downwardAPIVolumeBuilder) SetUpAt(dir string) error { return nil } -// IsReadOnly func to fullfill volume.Builder interface +// IsReadOnly func to fulfill volume.Builder interface func (d *downwardAPIVolume) IsReadOnly() bool { return true } @@ -170,7 +170,7 @@ func (d *downwardAPIVolume) collectData() (map[string]string, error) { return data, utilErrors.NewAggregate(errlist) } -// isDataChanged iterate over all the entries to check wether at least one +// isDataChanged iterate over all the entries to check whether at least one // file needs to be updated. func (d *downwardAPIVolume) isDataChanged(data map[string]string) bool { for fileName, values := range data {