mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-22 05:33:23 +00:00
20 lines
755 B
Diff
20 lines
755 B
Diff
diff --git a/plugins/meta/dnsname/service.go b/plugins/meta/dnsname/service.go
|
|
index fc05f75..f6b4caf 100644
|
|
--- a/plugins/meta/dnsname/service.go
|
|
+++ b/plugins/meta/dnsname/service.go
|
|
@@ -16,10 +16,14 @@ import (
|
|
|
|
// newDNSMasqFile creates a new instance of a dnsNameFile
|
|
func newDNSMasqFile(domainName, networkInterface, networkName string) (dnsNameFile, error) {
|
|
+ /*
|
|
dnsMasqBinary, err := exec.LookPath("dnsmasq")
|
|
if err != nil {
|
|
return dnsNameFile{}, errors.Errorf("the dnsmasq cni plugin requires the dnsmasq binary be in PATH")
|
|
}
|
|
+ */
|
|
+ _ = errors.Errorf // XXX(mikroskeem): reduce diff
|
|
+ dnsMasqBinary := "@DNSMASQ@"
|
|
masqConf := dnsNameFile{
|
|
ConfigFile: makePath(networkName, confFileName),
|
|
Domain: domainName,
|