Skip to content

Commit 50d1d06

Browse files
authored
remove rmw_localhost_only_t. (#239)
Signed-off-by: Tomoya Fujita <[email protected]>
1 parent 28e53eb commit 50d1d06

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test_rmw_implementation/test/test_create_destroy_node.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ class TestLocalhostNodeConstructionDestruction : public ::testing::Test
138138
ASSERT_EQ(RMW_RET_OK, ret) << rcutils_get_error_string().str;
139139
options.enclave = rcutils_strdup("/", rcutils_get_default_allocator());
140140
ASSERT_STREQ("/", options.enclave);
141-
options.localhost_only = RMW_LOCALHOST_ONLY_ENABLED;
141+
options.discovery_options.automatic_discovery_range = RMW_AUTOMATIC_DISCOVERY_RANGE_LOCALHOST;
142142
context = rmw_get_zero_initialized_context();
143143
ret = rmw_init(&options, &context);
144144
ASSERT_EQ(RMW_RET_OK, ret) << rcutils_get_error_string().str;

0 commit comments

Comments
 (0)