提交 81ec77ae 编写于 作者: A Aaron Prindle 提交者: GitHub

Merge pull request #1910 from aaron-prindle/ci-fix

Added retriable error the service.go
......@@ -201,7 +201,7 @@ func validateService(s corev1.ServiceInterface, service string) error {
func checkEndpointReady(endpoints corev1.EndpointsInterface, service string) error {
endpoint, err := endpoints.Get(service, meta_v1.GetOptions{})
if err != nil {
return errors.Wrapf(err, "Error getting endpoints for service %s", service)
return &util.RetriableError{Err: errors.Errorf("Error getting endpoints for service %s", service)}
}
const notReadyMsg = "Waiting, endpoint for service is not ready yet...\n"
if len(endpoint.Subsets) == 0 {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册