Skip to content

Commit

Permalink
Fix review comments
Browse files Browse the repository at this point in the history
Signed-off-by: Stephen Sun <stephens@nvidia.com>
  • Loading branch information
stephenxs committed Apr 3, 2024
1 parent 7adaf0c commit ec6cb51
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions meta/SaiSerialize.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4195,7 +4195,7 @@ void sai_deserialize_timespec(
}
catch (const std::exception&)
{
SWSS_LOG_ERROR("Received an exception after trying to parse timespec_t from %s", s.c_str());
SWSS_LOG_THROW("Received an exception after trying to parse timespec_t from %s", s.c_str());
}

sai_deserialize_number<uint64_t>(j["tv_sec"], timestamp.tv_sec);
Expand All @@ -4220,7 +4220,7 @@ void sai_deserialize_switch_asic_sdk_health_event(
}
catch (const std::exception&)
{
SWSS_LOG_ERROR("Received an exception after trying to parse switch_asic_sdk_health_event from %s", s.c_str());
SWSS_LOG_THROW("Received an exception after trying to parse switch_asic_sdk_health_event from %s", s.c_str());
}

sai_deserialize_object_id(j["switch_id"], switch_id);
Expand All @@ -4234,7 +4234,8 @@ void sai_deserialize_switch_asic_sdk_health_event(
sai_deserialize_number_list(j["description"], description, false, false);
}

void sai_deserialize_free_switch_asic_sdk_health_event(_In_ sai_u8_list_t &description)
void sai_deserialize_free_switch_asic_sdk_health_event(
_In_ sai_u8_list_t &description)
{
SWSS_LOG_ENTER();

Expand Down

0 comments on commit ec6cb51

Please sign in to comment.