Skip to content

Commit e4949a6

Browse files
authored
fix: return nil instead of earlier err when we complete exec (#942)
1 parent 57d6d63 commit e4949a6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cni/network/network.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ func (plugin *netPlugin) GetAllEndpointState(networkid string) (*api.AzureCNISta
181181
st.ContainerInterfaces[id] = info
182182
}
183183

184-
return &st, err
184+
return &st, nil
185185
}
186186

187187
// Stops the plugin.

0 commit comments

Comments
 (0)