From 5ef455c97708f7b4e2cc963c087e2ceb82ecf731 Mon Sep 17 00:00:00 2001 From: Evan Baker Date: Sat, 17 Jul 2021 13:35:52 -0500 Subject: [PATCH] fix: return nil instead of earlier err when we complete exec --- cni/network/network.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cni/network/network.go b/cni/network/network.go index 1da16a9efd..88189452cb 100644 --- a/cni/network/network.go +++ b/cni/network/network.go @@ -181,7 +181,7 @@ func (plugin *netPlugin) GetAllEndpointState(networkid string) (*api.AzureCNISta st.ContainerInterfaces[id] = info } - return &st, err + return &st, nil } // Stops the plugin.