git://git.halfball.org
/
cni.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4228ca8
)
libcni: fix go vet error
author
Gabriel Rosenhouse
<grosenhouse@pivotal.io>
Wed, 1 Nov 2017 05:21:33 +0000
(22:21 -0700)
committer
Gabriel Rosenhouse
<grosenhouse@pivotal.io>
Wed, 1 Nov 2017 05:24:53 +0000
(22:24 -0700)
libcni/conf_test.go
patch
|
blob
|
history
diff --git
a/libcni/conf_test.go
b/libcni/conf_test.go
index
b089748
..
c931a5a
100644
(file)
--- 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"}))
})
})