|
def add_namespace_to_index(index, cluster) do |
When querying multiple indexes (ex: "index_a,index_b,index_c,index_d"), the namespace only adds it for the first instead of all of them.
ex:
Snap.Namespace.add_namespace_to_index("index_a,index_b,index_c,index_d", Snap.Test.Cluster)
Expected: "#{namespace}_index_a,#{namespace}_index_b,#{namespace}_index_c,#{namespace}_index_d"
Actual: "#{namespace}_index_a,index_b,index_c,index_d"
snap/lib/snap/namespace.ex
Line 101 in a044cd6
When querying multiple indexes (ex:
"index_a,index_b,index_c,index_d"), the namespace only adds it for the first instead of all of them.ex:
Snap.Namespace.add_namespace_to_index("index_a,index_b,index_c,index_d", Snap.Test.Cluster)Expected:
"#{namespace}_index_a,#{namespace}_index_b,#{namespace}_index_c,#{namespace}_index_d"Actual:
"#{namespace}_index_a,index_b,index_c,index_d"