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:
@@ -34,7 +34,9 @@ var _ = Describe("Events", func() {
|
||||
var c *client.Client
|
||||
|
||||
BeforeEach(func() {
|
||||
c = loadClientOrDie()
|
||||
var err error
|
||||
c, err = loadClient()
|
||||
Expect(err).NotTo(HaveOccurred())
|
||||
})
|
||||
|
||||
It("should be sent by kubelets and the scheduler about pods scheduling and running", func() {
|
||||
|
Reference in New Issue
Block a user