fix error

This commit is contained in:
邱博亞 2021-11-20 23:07:42 +08:00
parent e71936ab4d
commit 0f60e393ca
1 changed files with 1 additions and 1 deletions

View File

@ -264,7 +264,7 @@ if bundle_update_flag
v["options"].delete "pool_size"
end
if !v["options"].nil? && v["options"]["read"].class == String
v["options"]["read"] = {mode: v["options"]["read"]}
v["options"]["read"] = {"mode"=> v["options"]["read"]}
end
end
end