Comparison

core/storagemanager.lua @ 3654:8afd15a61743

storagemanager: Fix syntax error
author Matthew Wild <mwild1@gmail.com>
date Sat, 27 Nov 2010 21:15:23 +0000
parent 3644:22fc2063b824
child 3655:9a590b03a8d6
comparison
equal deleted inserted replaced
3653:029442834226 3654:8afd15a61743
73 local ret, err = driver:open(store, typ); 73 local ret, err = driver:open(store, typ);
74 if not ret then 74 if not ret then
75 if err == "unsupported-store" then 75 if err == "unsupported-store" then
76 log("debug", "Storage driver %s does not support store %s (%s), falling back to internal driver", 76 log("debug", "Storage driver %s does not support store %s (%s), falling back to internal driver",
77 driver_name, store, typ); 77 driver_name, store, typ);
78 ret = setmetatable({ host = host, store = store }, default_driver_mt); end -- default to default driver 78 ret = setmetatable({ host = host, store = store }, default_driver_mt); -- default to default driver
79 err = nil; 79 err = nil;
80 end 80 end
81 end 81 end
82 return ret, err; 82 return ret, err;
83 end 83 end