diff options
-rw-r--r-- | common-util/src/main/java/org/openo/baseservice/bus/util/RegisterService.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/common-util/src/main/java/org/openo/baseservice/bus/util/RegisterService.java b/common-util/src/main/java/org/openo/baseservice/bus/util/RegisterService.java index 3a84781..d1926c7 100644 --- a/common-util/src/main/java/org/openo/baseservice/bus/util/RegisterService.java +++ b/common-util/src/main/java/org/openo/baseservice/bus/util/RegisterService.java @@ -127,7 +127,7 @@ public class RegisterService { * @throws IOException * @since */ - private static String getBusAdderss() throws IOException { + private static String getBusAddress() throws IOException { LOGGER.info("begin to get the bus baseurl."); FileInputStream busFile = null; @@ -169,7 +169,7 @@ public class RegisterService { providers.add(jacksonJsonProvider); if (busPath == null) { - busPath = getBusAdderss(); + busPath = getBusAddress(); } return WebClient.create(busPath, providers); |