mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-12 20:57:20 +00:00
FakeEtcdClient should return KeyNotFound on Delete
This commit is contained in:
@@ -624,7 +624,7 @@ func TestEtcdDelete(t *testing.T) {
|
||||
"notExisting": {
|
||||
existing: emptyNode,
|
||||
expect: emptyNode,
|
||||
errOK: func(err error) bool { return err == nil },
|
||||
errOK: func(err error) bool { return errors.IsNotFound(err) },
|
||||
},
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user