소스 검색

debug logs

Abhishek Kondur 1 년 전
부모
커밋
5abbce4552
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      mq/publishers.go

+ 1 - 1
mq/publishers.go

@@ -141,7 +141,7 @@ func HostUpdate(hostUpdate *models.HostUpdate) error {
 		return nil
 	}
 	logger.Log(3, "publishing host update to "+hostUpdate.Host.ID.String())
-
+	fmt.Printf("------>############ %s\n", hostUpdate.Action)
 	data, err := json.Marshal(hostUpdate)
 	if err != nil {
 		logger.Log(2, "error marshalling node update ", err.Error())