refactor: @Component 등록

This commit is contained in:
dongHyo
2022-05-06 13:48:46 +09:00
parent 3cbb3f0ee8
commit 08ce8e6904

View File

@@ -2,7 +2,9 @@ package com.ticketing.server.global.health;
import java.util.concurrent.atomic.AtomicReference;
import org.springframework.boot.actuate.health.Health;
import org.springframework.stereotype.Component;
@Component
public class ManualHealthIndicator implements MutableHealthIndicator {
private final AtomicReference<Health> healthRef = new AtomicReference<>(Health.up().build());