mirror of
https://github.com/vmware-tanzu/velero.git
synced 2026-09-20 06:54:32 +00:00
Move plugin interfaces to same package (#1264)
* Move plugin interfaces to same package Signed-off-by: Carlisia <carlisiac@vmware.com>
This commit is contained in:
committed by
Nolan Brubaker
parent
7674332313
commit
73514a003b
@@ -79,7 +79,7 @@ func (r *process) dispense(key kindAndName) (interface{}, error) {
|
||||
if key.name == "" {
|
||||
return nil, errors.Errorf("%s plugin requested but name is missing", key.kind.String())
|
||||
}
|
||||
// Get the instance that implements our plugin interface (e.g. cloudprovider.ObjectStore) that is a gRPC-based
|
||||
// Get the instance that implements our plugin interface (e.g. ObjectStore) that is a gRPC-based
|
||||
// client
|
||||
dispensed = clientDispenser.clientFor(key.name)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user