mirror of
https://github.com/k8snetworkplumbingwg/multus-cni.git
synced 2025-08-12 05:23:36 +00:00
Merge pull request #636 from s1061123/fix/error-on-syntax-error
Return error on annotation parsing error
This commit is contained in:
commit
dc4d6e6764
@ -367,7 +367,7 @@ func TryLoadPodDelegates(pod *v1.Pod, conf *types.NetConf, clientInfo *ClientInf
|
|||||||
return len(delegates), clientInfo, nil
|
return len(delegates), clientInfo, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
return 0, clientInfo, nil
|
return 0, clientInfo, err
|
||||||
}
|
}
|
||||||
|
|
||||||
// GetK8sClient gets client info from kubeconfig
|
// GetK8sClient gets client info from kubeconfig
|
||||||
|
Loading…
Reference in New Issue
Block a user