cloud-controller-manager: improve warning message for --configure-cloud-routes

Signed-off-by: Andrew Sy Kim <kim.andrewsy@gmail.com>
This commit is contained in:
Andrew Sy Kim 2020-12-02 21:08:06 -05:00
parent 4bee62cfd7
commit 794122dd3e

View File

@ -112,7 +112,7 @@ func startRouteController(ctx *config.CompletedConfig, cloud cloudprovider.Inter
// If CIDRs should be allocated for pods and set on the CloudProvider, then start the route controller
routes, ok := cloud.Routes()
if !ok {
klog.Warning("configure-cloud-routes is set, but cloud provider does not support routes. Will not configure cloud provider routes.")
klog.Warning("--configure-cloud-routes is set, but cloud provider does not support routes. Will not configure cloud provider routes.")
return nil, false, nil
}