Skip to content

Commit d63ff6a

Browse files
committed
fix
1 parent cc1c2df commit d63ff6a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

dataplane/src/main/java/io/sentrius/sso/core/services/selfhealing/SelfHealingOrchestrator.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
import lombok.extern.slf4j.Slf4j;
1010
import org.springframework.beans.factory.annotation.Autowired;
1111
import org.springframework.beans.factory.annotation.Value;
12+
import org.springframework.boot.autoconfigure.condition.ConditionalOnWebApplication;
1213
import org.springframework.scheduling.annotation.Async;
1314
import org.springframework.scheduling.annotation.Scheduled;
1415
import org.springframework.stereotype.Service;
@@ -21,6 +22,7 @@
2122
*/
2223
@Slf4j
2324
@Service
25+
@ConditionalOnWebApplication(type = ConditionalOnWebApplication.Type.SERVLET)
2426
public class SelfHealingOrchestrator {
2527

2628
@Autowired

0 commit comments

Comments
 (0)