Skip to content

Commit

Permalink
Do not print anything in the health() endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
icppWorld committed Feb 7, 2025
1 parent 68ab764 commit f45d53a
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/health.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@
void health() {
IC_API ic_api(CanisterQuery{std::string(__func__)}, false);

std::cout << "Canister is healthy!" << std::endl;

CandidTypeRecord status_code_record;
status_code_record.append("status_code", CandidTypeNat16{200});
ic_api.to_wire(CandidTypeVariant{"Ok", status_code_record});
Expand Down

0 comments on commit f45d53a

Please sign in to comment.