mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-11 14:11:14 +00:00
Merge pull request #42472 from timchenxiaoyu/requesttypo
Automatic merge from submit-queue fix request typo
This commit is contained in:
@@ -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
|
||||||
|
|
||||||
|
@@ -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()
|
||||||
|
Reference in New Issue
Block a user