Skip to content
Snippets Groups Projects
Commit a6f7db64 authored by Mingyang Zhu's avatar Mingyang Zhu
Browse files

fix ConditionalOnMissingBean annotation

parent 302e29b0
No related branches found
No related tags found
1 merge request!53customized readiness check to make sure cache layer is ready before serving traffic
......@@ -5,7 +5,7 @@ import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean
import org.springframework.stereotype.Service;
@Service
@ConditionalOnMissingBean
@ConditionalOnMissingBean(value = IHealthCheckService.class)
public class DefaultHealthCheckImpl implements IHealthCheckService {
@Override
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment