Use more explicit key name for items

This commit is contained in:
Garret Alfert
2016-03-02 18:06:42 +01:00
parent c2fd9bc6d0
commit 9b7b224f79
3 changed files with 13 additions and 13 deletions

View File

@@ -85,7 +85,7 @@ class Migrator
end
def add_item_to_parent_dir(dir, item)
key = "rs:m:#{username}:#{parent_directory_for(dir)}:i"
key = "rs:m:#{username}:#{parent_directory_for(dir)}:items"
logger.debug "Adding item #{item} to #{key}"
redis.sadd(key, item) unless dry_run
end