Skip to content

Commit

Permalink
fix: Add inline to HealthCheckService::get_serving_status
Browse files Browse the repository at this point in the history
  • Loading branch information
Tradias committed Dec 26, 2024
1 parent afbac45 commit 79fc611
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/agrpc/detail/health_check_service.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,7 @@ inline void HealthCheckService::Shutdown()
});
}

detail::ServingStatus HealthCheckService::get_serving_status(const std::string& service_name) const
inline detail::ServingStatus HealthCheckService::get_serving_status(const std::string& service_name) const
{
const auto it = services_map_.find(service_name);
return it == services_map_.end() ? detail::ServingStatus::NOT_FOUND : it->second.status_;
Expand Down

0 comments on commit 79fc611

Please sign in to comment.