Skip to content

Commit a87f551

Browse files
committed
[API] Fixed the Ruby 1.8-incompatible syntax in the "Nodes Info" API
1 parent 5ae2c82 commit a87f551

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

elasticsearch-api/test/unit/nodes/info_test.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ class NodesInfoTest < ::Test::Unit::TestCase
6666
true
6767
end.returns(FakeResponse.new)
6868

69-
subject.nodes.info metric: ['http', 'network']
69+
subject.nodes.info :metric => ['http', 'network']
7070
end
7171
end
7272

0 commit comments

Comments
 (0)