Closed phochste closed 6 years ago
I have a catmandu.yml like:
--- store: foo: package: ElasticSearch options: index_name: foo
When in my code do:
my $store = Catmandu->store('foo');
I get a store pointing with index_name 'foo'. But when later on in my code I change my mind and want to connect to 'bar':
index_name
$store = Catmandu->store('foo', index_name => 'bar');
The store will still point to `index_name' 'foo'. The 'foo' store is cached.
Fixed in cca41995edb3249c339ff3593ad1c6ef0b2dbd87
I have a catmandu.yml like:
When in my code do:
I get a store pointing with
index_name
'foo'. But when later on in my code I change my mind and want to connect to 'bar':The store will still point to `index_name' 'foo'. The 'foo' store is cached.