Skip to content

Commit

Permalink
style fix
Browse files Browse the repository at this point in the history
Signed-off-by: Amit Galitzky <amgalitz@amazon.com>
  • Loading branch information
amitgalitz committed Aug 26, 2022
1 parent f7052a2 commit 348b5cb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,6 @@
import org.opensearch.client.AdminClient;
import org.opensearch.client.Client;
import org.opensearch.cluster.LocalNodeClusterManagerListener;
import org.opensearch.cluster.LocalNodeClusterManagerListener;
import org.opensearch.cluster.metadata.AliasMetadata;
import org.opensearch.cluster.metadata.IndexMetadata;
import org.opensearch.cluster.service.ClusterService;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,10 @@ public void setUp() throws Exception {
oldClusterState = ClusterState
.builder(new ClusterName(clusterName))
.nodes(
new DiscoveryNodes.Builder().clusterManagerNodeId(clusterManagerNodeId).localNodeId(clusterManagerNodeId).add(clusterManagerNode)
new DiscoveryNodes.Builder()
.clusterManagerNodeId(clusterManagerNodeId)
.localNodeId(clusterManagerNodeId)
.add(clusterManagerNode)
)
.build();
newClusterState = ClusterState
Expand Down

0 comments on commit 348b5cb

Please sign in to comment.