summaryrefslogtreecommitdiffstats
path: root/aconf/persistence/init.lua
diff options
context:
space:
mode:
authorKaarle Ritvanen <kaarle.ritvanen@datakunkku.fi>2015-03-11 13:59:25 +0200
committerKaarle Ritvanen <kaarle.ritvanen@datakunkku.fi>2015-03-11 16:54:31 +0200
commit83889bc5e4659e845d919e9a477a29167e7cb4f8 (patch)
tree8e9c748d75c4f5a090f92329dad28f3df3654447 /aconf/persistence/init.lua
parent9843bb8363978b1556d3ccc79bd4c08027af7bfe (diff)
downloadaconf-83889bc5e4659e845d919e9a477a29167e7cb4f8.tar.bz2
aconf-83889bc5e4659e845d919e9a477a29167e7cb4f8.tar.xz
remove address module
Diffstat (limited to 'aconf/persistence/init.lua')
-rw-r--r--aconf/persistence/init.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/aconf/persistence/init.lua b/aconf/persistence/init.lua
index 632c191..481e859 100644
--- a/aconf/persistence/init.lua
+++ b/aconf/persistence/init.lua
@@ -6,7 +6,7 @@ See LICENSE file for license details
local loadmods = require('aconf.loader')
local topology = require('aconf.model.root').topology
local object = require('aconf.object')
-local address = require('aconf.path.address')
+local pth = require('aconf.path')
local util = require('aconf.util')
local contains = util.contains
@@ -38,7 +38,7 @@ function DataStore:trigger(phase, path, func)
end
function DataStore:split_path(path)
- local comps = address.split(path)
+ local comps = pth.split(path)
local backend = self.backends[comps[1]]
assert(backend)
table.remove(comps, 1)
@@ -105,7 +105,7 @@ function DataStore:_set_multiple(mods)
local tp = path
while not trigger[tp] do
trigger[tp] = true
- tp = address.parent(tp)
+ tp = pth.parent(tp)
end
local backend, comps = self:split_path(path)