Fix typo error

This commit is contained in:
feisky 2015-10-12 18:57:56 +08:00
parent e3c6750942
commit 8ad6b8f035
3 changed files with 5 additions and 5 deletions

View File

@ -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 {

View File

@ -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":[

View File

@ -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 {