Switch to github.com/containerd/plugin
Signed-off-by: Derek McGowan <derek@mcg.dev>
This commit is contained in:
@@ -51,8 +51,8 @@ func NewContext(ctx context.Context, plugins *Set, properties map[string]string)
|
||||
}
|
||||
}
|
||||
|
||||
// Get returns the first plugin by its type
|
||||
func (i *InitContext) Get(t Type) (interface{}, error) {
|
||||
// GetSingle returns the first plugin by its type
|
||||
func (i *InitContext) GetSingle(t Type) (interface{}, error) {
|
||||
return i.plugins.Get(t)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user