diff options
author | youbowu <wu.youbo@zte.com.cn> | 2017-03-10 14:10:59 +0800 |
---|---|---|
committer | 6092002067 <wu.youbo@zte.com.cn> | 2017-03-10 14:13:47 +0800 |
commit | e881c690d8b10c7940044d10e6cded4e86398beb (patch) | |
tree | 6cd9854cc65113c6c5f5e5c7908bdd875038dfd0 /holmes-actions/src | |
parent | 76709abd1cb52cb187f574d26744b4504ea6cbe2 (diff) |
Add start registering service with thread
Issue-ID: HOLMES-50
Change-Id: I7c1aeb6c9aab178b4b52575aa801c4ab0885dd06
Signed-off-by: youbowu <wu.youbo@zte.com.cn>
Diffstat (limited to 'holmes-actions/src')
-rw-r--r-- | holmes-actions/src/main/java/org/openo/holmes/common/utils/MSBRegisterUtil.java | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/holmes-actions/src/main/java/org/openo/holmes/common/utils/MSBRegisterUtil.java b/holmes-actions/src/main/java/org/openo/holmes/common/utils/MSBRegisterUtil.java index 1de431e..8b38419 100644 --- a/holmes-actions/src/main/java/org/openo/holmes/common/utils/MSBRegisterUtil.java +++ b/holmes-actions/src/main/java/org/openo/holmes/common/utils/MSBRegisterUtil.java @@ -37,7 +37,6 @@ import org.openo.holmes.common.constant.AlarmConst; public class MSBRegisterUtil {
public void register(ServiceRegisterEntity entity) throws IOException {
- ((Runnable) () -> {
log.info("start inventory micro service register");
boolean flag = false;
int retry = 0;
@@ -54,7 +53,6 @@ public class MSBRegisterUtil { }
}
log.info("holmes micro service register end.");
- }).run();
}
private void setHeader(HttpRequestBase httpRequestBase) {
|