Skip to content

Commit

Permalink
[type:bugfix] fix http sync ci error
Browse files Browse the repository at this point in the history
  • Loading branch information
Aias00 committed Nov 14, 2024
1 parent 333cb0a commit b4b6680
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@
import org.apache.shenyu.admin.utils.ShenyuResultMessage;
import org.apache.shenyu.common.dto.ConfigData;
import org.apache.shenyu.common.enums.ConfigGroupEnum;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.autoconfigure.condition.ConditionalOnBean;
import org.springframework.context.annotation.DependsOn;
import org.springframework.web.bind.annotation.GetMapping;
Expand All @@ -50,6 +52,8 @@
@RestController
@ConditionalOnBean(HttpLongPollingDataChangedListener.class)
public class ConfigController {

private static final Logger LOG = LoggerFactory.getLogger(ConfigController.class);

private final HttpLongPollingDataChangedListener longPollingListener;

Expand All @@ -58,6 +62,7 @@ public class ConfigController {
public ConfigController(final HttpLongPollingDataChangedListener longPollingListener, final NamespaceService namespaceService) {
this.longPollingListener = longPollingListener;
this.namespaceService = namespaceService;
LOG.info("ConfigController is started");
}

/**
Expand Down

0 comments on commit b4b6680

Please sign in to comment.