Change loadClientOrDie to return an error

Also remove a bunch of dead code. This is a step along the path to
getting rid of all the glog in util.go.
This commit is contained in:
Zach Loafman
2015-02-09 07:10:02 -08:00
parent c0d7e58be4
commit 2e4a1e910b
9 changed files with 33 additions and 78 deletions

View File

@@ -36,7 +36,9 @@ var _ = Describe("Pods", func() {
)
BeforeEach(func() {
c = loadClientOrDie()
var err error
c, err = loadClient()
Expect(err).NotTo(HaveOccurred())
})
It("should be submitted and removed", func() {