mirror of
https://github.com/kubernetes/kubernetes.git
synced 2026-07-15 12:52:21 -04:00
Update fake.go
This commit is contained in:
parent
4f62152221
commit
3eb9aff216
1 changed files with 1 additions and 1 deletions
|
|
@ -179,7 +179,7 @@ func (c *Fake) InvokesProxy(action Action) restclient.ResponseWrapper {
|
|||
// ClearActions clears the history of actions called on the fake client
|
||||
func (c *Fake) ClearActions() {
|
||||
c.Lock()
|
||||
c.Unlock()
|
||||
defer c.Unlock()
|
||||
|
||||
c.actions = make([]Action, 0)
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue