mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-31 07:20:13 +00:00
Update fake.go
This commit is contained in:
parent
4f62152221
commit
3eb9aff216
@ -179,7 +179,7 @@ func (c *Fake) InvokesProxy(action Action) restclient.ResponseWrapper {
|
|||||||
// ClearActions clears the history of actions called on the fake client
|
// ClearActions clears the history of actions called on the fake client
|
||||||
func (c *Fake) ClearActions() {
|
func (c *Fake) ClearActions() {
|
||||||
c.Lock()
|
c.Lock()
|
||||||
c.Unlock()
|
defer c.Unlock()
|
||||||
|
|
||||||
c.actions = make([]Action, 0)
|
c.actions = make([]Action, 0)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user