summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--holmes-actions/src/main/java/org/openo/holmes/common/utils/MSBRegisterUtil.java2
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) {