summaryrefslogtreecommitdiff
path: root/plugins/meta/dnsname/service.go
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/meta/dnsname/service.go')
-rw-r--r--plugins/meta/dnsname/service.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/meta/dnsname/service.go b/plugins/meta/dnsname/service.go
index c4b8b0f..717d6c0 100644
--- a/plugins/meta/dnsname/service.go
+++ b/plugins/meta/dnsname/service.go
@@ -96,5 +96,5 @@ func (d dnsNameFile) getProcess() (*os.Process, error) {
func makePath(networkName, fileName string) string {
// the generic path for where conf, host, pid files are kept is:
// /run/containers/cni/dnsmasq/<network-name>/
- return filepath.Join(dnsNameConfPath, networkName, fileName)
+ return filepath.Join(dnsNameConfPath(), networkName, fileName)
}