From 7f03ee4537687c11918665c00de6fddf3c8fa9f6 Mon Sep 17 00:00:00 2001 From: Gabriel Rosenhouse Date: Tue, 31 Oct 2017 22:21:33 -0700 Subject: [PATCH] libcni: fix go vet error --- libcni/conf_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libcni/conf_test.go b/libcni/conf_test.go index b089748..c931a5a 100644 --- a/libcni/conf_test.go +++ b/libcni/conf_test.go @@ -288,7 +288,7 @@ var _ = Describe("Loading configuration from disk", func() { Context("when there is no config for the desired plugin list", func() { It("returns a useful error", func() { _, err := libcni.LoadConfList(configDir, "some-other-plugin") - Expect(err).To(MatchError(libcni.NotFoundError{configDir, "some-other-plugin"})) + Expect(err).To(MatchError(libcni.NotFoundError{Dir: configDir, Name: "some-other-plugin"})) }) }) -- 2.44.0