Comparison

core/storagemanager.lua @ 7325:7baf1b14defb

storagemanager: Capitalize log message
author Kim Alvefur <zash@zash.se>
date Fri, 01 Apr 2016 15:56:12 +0200
parent 7244:8c6943918279
child 7327:d62f0471470f
child 7643:44fe2aaf817e
comparison
equal deleted inserted replaced
7323:a1570219b865 7325:7baf1b14defb
194 return open(host, datastore):set(username, data); 194 return open(host, datastore):set(username, data);
195 end 195 end
196 function datamanager.users(host, datastore, typ) 196 function datamanager.users(host, datastore, typ)
197 local driver = open(host, datastore, typ); 197 local driver = open(host, datastore, typ);
198 if not driver.users then 198 if not driver.users then
199 return function() log("warn", "storage driver %s does not support listing users", driver.name) end 199 return function() log("warn", "Storage driver %s does not support listing users", driver.name) end
200 end 200 end
201 return driver:users(); 201 return driver:users();
202 end 202 end
203 function datamanager.stores(username, host, typ) 203 function datamanager.stores(username, host, typ)
204 return get_driver(host):stores(username, typ); 204 return get_driver(host):stores(username, typ);