Merge pull request #636 from s1061123/fix/error-on-syntax-error

Return error on annotation parsing error
This commit is contained in:
Doug Smith 2021-03-29 09:23:27 -04:00 committed by GitHub
commit dc4d6e6764
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -367,7 +367,7 @@ func TryLoadPodDelegates(pod *v1.Pod, conf *types.NetConf, clientInfo *ClientInf
return len(delegates), clientInfo, nil
}
return 0, clientInfo, nil
return 0, clientInfo, err
}
// GetK8sClient gets client info from kubeconfig