Update go-cni to v1.1.2

Fixes panic when exec is nil

Signed-off-by: Derek McGowan <derek@mcg.dev>
This commit is contained in:
Derek McGowan
2022-02-10 11:28:59 -08:00
parent e2c5f8f932
commit c0f8188469
8 changed files with 48 additions and 8 deletions

View File

@@ -43,6 +43,11 @@ func (f *FakeCNIPlugin) Remove(ctx context.Context, id, path string, opts ...cni
return nil
}
// Check the network of PodSandbox.
func (f *FakeCNIPlugin) Check(ctx context.Context, id, path string, opts ...cni.NamespaceOpts) error {
return nil
}
// Status get the status of the plugin.
func (f *FakeCNIPlugin) Status() error {
return f.StatusErr