summaryrefslogtreecommitdiffstats
path: root/aconf/persistence/init.lua
diff options
context:
space:
mode:
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)