X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=holmes-actions%2Fsrc%2Fmain%2Fjava%2Forg%2Fopeno%2Fholmes%2Fcommon%2Futils%2FMSBRegisterUtil.java;h=8b3841900f9b107fd510406f18bf7c190751abd3;hb=e881c690d8b10c7940044d10e6cded4e86398beb;hp=1de431e58a151db39900ceedb5144edd8b5d3211;hpb=76709abd1cb52cb187f574d26744b4504ea6cbe2;p=holmes%2Fcommon.git 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) {