We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4dcb2bd commit 4b0d70eCopy full SHA for 4b0d70e
api-spec-testing/test_file.rb
@@ -446,7 +446,7 @@ def wipe_searchable_snapshot_indices(client)
446
447
def delete_all_node_shutdown_metadata(client)
448
nodes = client.shutdown.get_node
449
- return if nodes['_nodes'] && nodes['cluster_name']
+ return if nodes['_nodes'] && nodes['cluster_name'] || nodes&.[]("nodes").empty?
450
451
nodes.each do |node|
452
client.shutdown.delete_node(node['node_id'])
0 commit comments