From 95ac461a290b80cb355ffab5d702cd3ddf3b77b0 Mon Sep 17 00:00:00 2001 From: Qi Ni Date: Wed, 2 Jun 2021 11:00:40 +0800 Subject: [PATCH] serviceOwnsFrontendIP shouldn't report error when the public IP doesn't match --- .../src/k8s.io/legacy-cloud-providers/azure/azure_standard.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/staging/src/k8s.io/legacy-cloud-providers/azure/azure_standard.go b/staging/src/k8s.io/legacy-cloud-providers/azure/azure_standard.go index f6a146fc5c6..32609f8ef74 100644 --- a/staging/src/k8s.io/legacy-cloud-providers/azure/azure_standard.go +++ b/staging/src/k8s.io/legacy-cloud-providers/azure/azure_standard.go @@ -381,7 +381,7 @@ func (az *Cloud) serviceOwnsFrontendIP(fip network.FrontendIPConfiguration, serv return false, isPrimaryService, nil } - return false, isPrimaryService, fmt.Errorf("serviceOwnsFrontendIP: wrong parameters") + return false, isPrimaryService, nil } // for internal secondary service the private IP address on the frontend IP config should be checked