lib/proxes/request/cat.rb in proxes-0.8.4 vs lib/proxes/request/cat.rb in proxes-0.8.5
- old
+ new
@@ -23,10 +23,10 @@
@type ||= check_part(path_parts[1])
@index ||= check_part(path_parts[2])
end
def indices?
- true
+ %w[shards indices segments count recovery].include? type.first
end
end
end
end