aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2017-05-23 13:24:53 -0700
committerRobin H. Johnson <robbat2@gentoo.org>2017-05-23 13:24:53 -0700
commite28d0c84baab63d71d58ec26849d3f0d401a4371 (patch)
tree7bcd8dd4d014c0511a14f95c2f36c1374a7b4752
parentag: allow manual flush of index. (diff)
downloadbackend-e28d0c84baab63d71d58ec26849d3f0d401a4371.tar.gz
backend-e28d0c84baab63d71d58ec26849d3f0d401a4371.tar.bz2
backend-e28d0c84baab63d71d58ec26849d3f0d401a4371.zip
storage: Fix typo for hash.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
-rw-r--r--lib/storage.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/storage.rb b/lib/storage.rb
index 304c6e2..5a5948c 100644
--- a/lib/storage.rb
+++ b/lib/storage.rb
@@ -288,7 +288,7 @@ module Ag::Storage
def flush_index(list)
$es.indices.flush(
- :index: index_name(list),
+ index: index_name(list),
)
end