storefact icon indicating copy to clipboard operation
storefact copied to clipboard

Accidental fuzzy match for store types

Open jonashaag opened this issue 5 years ago • 0 comments

Here https://github.com/blue-yonder/storefact/blob/f0a75afb8e8b4d633c5c2f2e8ed059bd667eaecf/storefact/_store_creation.py#L23 the code uses type in ('memory') which is identical to type in 'memory' which isn't a "look for string in list of strings" check but a "look for substring" check.

jonashaag avatar Oct 01 '19 11:10 jonashaag