mirror of
https://github.com/vmware-tanzu/velero.git
synced 2026-09-20 15:04:17 +00:00
terminate plugin clients explicitly instead of using managed ones
Signed-off-by: Steve Kriss <steve@heptio.com>
This commit is contained in:
@@ -377,7 +377,7 @@ func TestProcessRestore(t *testing.T) {
|
||||
|
||||
if test.restore != nil {
|
||||
pluginManager.On("GetRestoreItemActions", test.restore.Name).Return(nil, nil)
|
||||
pluginManager.On("CloseRestoreItemActions", test.restore.Name).Return(nil)
|
||||
pluginManager.On("CloseRestoreItemActions", test.restore.Name).Return()
|
||||
}
|
||||
|
||||
err = c.processRestore(key)
|
||||
|
||||
Reference in New Issue
Block a user