summaryrefslogtreecommitdiffstats
path: root/common-util/src
diff options
context:
space:
mode:
authorzhouruiyu <zhouruiyu@huawei.com>2016-10-10 12:01:02 +0800
committerzhouruiyu <zhouruiyu@huawei.com>2016-10-10 12:01:02 +0800
commite7c3f93eeaae722f438defd9b725d35348e1a6f4 (patch)
tree5775807a62ef4aa1662b4cc4dd67c7c0c13c073b /common-util/src
parentd4c102fb4ab36132992735f9da3f5aa4a2929a34 (diff)
1. change the adderss into address
Change-Id: I2062dd4b59476c36ca1f51957bf33651623361d3 Signed-off-by: zhouruiyu <zhouruiyu@huawei.com>
Diffstat (limited to 'common-util/src')
-rw-r--r--common-util/src/main/java/org/openo/baseservice/bus/util/RegisterService.java4
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);