cb-spider icon indicating copy to clipboard operation
cb-spider copied to clipboard

[NCP 등] Logging Error Message when no error status

Open powerkimhub opened this issue 1 year ago • 0 comments

  • 다음은 VM 존재 여부를 check 하는 과정에 발생하는 정상 상태의 메시지로,

  • Error 로그로 출력시에 사용자가 오류 상황으로 인지 할 수 있으므로

  • log 출력을 trace 또는 debug 함수 활용을 추천 드립니다.(전체 적용 필요)

  • 기본적으로는 에러 상황에서 존재 여부를 판단하기 보다는 존재 여부를 판단하는 방식이면 이런 이슈에서 자유로울 것 같습니다.

    https://github.com/cloud-barista/cb-spider/blob/90e17040954dc68026d05ad0cd62d9c4daf8b45f/cloud-control-manager/cloud-driver/drivers/ncp/resources/VMHandler.go#L79

powerkimhub avatar Feb 06 '24 02:02 powerkimhub