diff options
author | Valentin Rothberg <rothberg@redhat.com> | 2019-09-20 10:35:47 +0200 |
---|---|---|
committer | Valentin Rothberg <rothberg@redhat.com> | 2019-09-20 10:35:47 +0200 |
commit | bca7253db685db36ad715f9aafa247ec5ec1b0da (patch) | |
tree | e17864ce2a35b9eff9fa56c30230bed860c35627 | |
parent | fe0942f5f6af95cee38f0ac48d075ffca3bcb157 (diff) |
cmdCheck: ignore podname
Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
-rw-r--r-- | plugins/meta/dnsname/main.go | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/plugins/meta/dnsname/main.go b/plugins/meta/dnsname/main.go index 4b49f13..7623d41 100644 --- a/plugins/meta/dnsname/main.go +++ b/plugins/meta/dnsname/main.go @@ -156,13 +156,11 @@ func cmdCheck(args *skel.CmdArgs) error { if err := findDNSMasq(); err != nil { return ErrBinaryNotFound } - netConf, result, podname, err := parseConfig(args.StdinData, args.Args) + netConf, result, _, err := parseConfig(args.StdinData, args.Args) if err != nil { return errors.Wrap(err, "failed to parse config") } - _ = podname - // Ensure we have previous result. if result == nil { return fmt.Errorf("Required prevResult missing") |