Merge pull request #419 from asridharan/cnitool

Added documentation for `cnitool`
This commit is contained in:
Gabe Rosenhouse
2017-04-07 10:20:07 -07:00
committed by GitHub
3 changed files with 30 additions and 13 deletions

View File

@ -61,7 +61,7 @@ var _ = Describe("Loading configuration from disk", func() {
It("returns a useful error", func() {
_, err := libcni.LoadConf(configDir, "some-plugin")
Expect(err).To(MatchError("no net configurations found"))
Expect(err).To(MatchError(libcni.NoConfigsFoundError{Dir: configDir}))
})
})
@ -244,7 +244,7 @@ var _ = Describe("Loading configuration from disk", func() {
It("returns a useful error", func() {
_, err := libcni.LoadConfList(configDir, "some-plugin")
Expect(err).To(MatchError("no net configurations found"))
Expect(err).To(MatchError(libcni.NoConfigsFoundError{Dir: configDir}))
})
})