Merge pull request #42472 from timchenxiaoyu/requesttypo

Automatic merge from submit-queue

fix request typo
pull/6/head
Kubernetes Submit Queue 2017-05-15 15:57:57 -07:00 committed by GitHub
commit 521d7d1ac5
2 changed files with 2 additions and 2 deletions

View File

@ -51,7 +51,7 @@ limitations under the License.
// ] // ]
// } // }
// //
// Note the secound block explicitly matches the unsafe package, and forbids it // Note the second block explicitly matches the unsafe package, and forbids it
// ("" is a prefix of everything). // ("" is a prefix of everything).
package main package main

View File

@ -166,7 +166,7 @@ func (r *volumeReactor) React(action core.Action) (handled bool, ret runtime.Obj
return true, nil, err return true, nil, err
} }
// Test did not requst to inject an error, continue simulating API server. // Test did not request to inject an error, continue simulating API server.
switch { switch {
case action.Matches("create", "persistentvolumes"): case action.Matches("create", "persistentvolumes"):
obj := action.(core.UpdateAction).GetObject() obj := action.(core.UpdateAction).GetObject()