Updates DiscoveryServerUrlInvalidException message with appropriate property path (#1001)

Co-authored-by: Luis Adrian Pena Alaniz <adrian.pena@azeti.net>
This commit is contained in:
Adrian Pena
2022-04-07 21:28:54 +02:00
committed by GitHub
parent 15242c90b6
commit 919dded7b8

View File

@@ -22,7 +22,7 @@ package org.springframework.cloud.kubernetes.discovery;
public class DiscoveryServerUrlInvalidException extends RuntimeException {
public DiscoveryServerUrlInvalidException() {
super("spring.cloud.kubernetes.discovery-server-url must be specified and a valid URL.");
super("spring.cloud.kubernetes.discovery.discovery-server-url must be specified and a valid URL.");
}
}