Skip to content

Commit

Permalink
Unsupported MANUAL_BY_NODE no matter what lease duration
Browse files Browse the repository at this point in the history
Signed-off-by: Emerson Knapp <eknapp@amazon.com>
  • Loading branch information
Emerson Knapp committed Jun 26, 2019
1 parent 5ebfd62 commit 086a919
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions rmw_fastrtps_shared_cpp/src/qos.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -160,9 +160,7 @@ get_datawriter_qos(
bool
is_valid_qos(const rmw_qos_profile_t & qos_policies)
{
if (qos_policies.liveliness == RMW_QOS_POLICY_LIVELINESS_MANUAL_BY_NODE &&
!is_time_default(qos_policies.liveliness_lease_duration))
{
if (qos_policies.liveliness == RMW_QOS_POLICY_LIVELINESS_MANUAL_BY_NODE) {
RMW_SET_ERROR_MSG("Liveliness policy MANUAL_BY_NODE is not yet supported for fastrtps.");
return false;
}
Expand Down

0 comments on commit 086a919

Please sign in to comment.