diff --git a/client/rest-high-level/src/test/java/org/elasticsearch/client/documentation/SecurityDocumentationIT.java b/client/rest-high-level/src/test/java/org/elasticsearch/client/documentation/SecurityDocumentationIT.java index c225685ad64..992073d7808 100644 --- a/client/rest-high-level/src/test/java/org/elasticsearch/client/documentation/SecurityDocumentationIT.java +++ b/client/rest-high-level/src/test/java/org/elasticsearch/client/documentation/SecurityDocumentationIT.java @@ -167,7 +167,7 @@ public class SecurityDocumentationIT extends ESRestHighLevelClientTestCase { GetUsersRequest request = new GetUsersRequest(usernames[0]); ActionListener listener; - //tag::get-roles-execute-listener + //tag::get-users-execute-listener listener = new ActionListener() { @Override public void onResponse(GetUsersResponse getRolesResponse) {