Ibotta/atomic_cache

sgs is undefined

Closed this issue · 1 comments

https://github.com/Ibotta/atomic_cache/blob/master/lib/atomic_cache/key/keyspace.rb#L73

The variable sgs there should be segments.

More broadly, the Keyspace class should probably throw an exception if it requires namespace to be an Array. Need to investigate if that is the case.

Upon further investigation, namespace is not required to be an Array.