mirror of https://github.com/k3s-io/k3s
Merge pull request #42472 from timchenxiaoyu/requesttypo
Automatic merge from submit-queue fix request typopull/6/head
commit
521d7d1ac5
|
@ -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()
|
||||||
|
|
Loading…
Reference in New Issue