mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-31 15:25:57 +00:00
Fix typo error
This commit is contained in:
parent
e3c6750942
commit
8ad6b8f035
@ -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 {
|
||||
|
@ -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":[
|
||||
|
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user