Missing .to_s added.

Index/partition keys can now be non-string without build-time error.
remotes/1708105384931250775/master
Luka Vandervelden 2018-12-17 00:49:45 +09:00
parent 66fcfb76a1
commit 027c7598eb
1 changed files with 1 additions and 1 deletions

View File

@ -58,7 +58,7 @@ class FS::Hash(K, V)
@partitions.each do |index|
index_key = index.key_proc.call value
symlink = file_path(key, index.name, index_key)
symlink = file_path(key.to_s, index.name, index_key)
Dir.mkdir_p File.dirname symlink