Skip to content

Commit

Permalink
update: 운영체제를 확인하지 않고 prod면 검증을 시도 한다.
Browse files Browse the repository at this point in the history
  • Loading branch information
inferior3x committed Dec 13, 2024
1 parent 4ba9d02 commit 1e42f54
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 45 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
import lombok.RequiredArgsConstructor;
import org.springframework.stereotype.Component;

//which로 커맨드가 설치되어있는지 확인함
@Component
@RequiredArgsConstructor
public class CommandInstalledValidator implements Validator<String> {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,13 @@
import lombok.extern.slf4j.Slf4j;
import org.springframework.context.annotation.Profile;
import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Component;

//시스템의 전체적인 검증을 진행하는 클래스
//SystemValidatorConfig에 의해 빈으로 등록됩니다
@Slf4j
@Profile("prod")
@Component
public final class SystemValidator {
private final NetworkConfig config;
private final SystemNetworkInterfaces systemNIs;
Expand Down

This file was deleted.

0 comments on commit 1e42f54

Please sign in to comment.