Skip to content
This repository has been archived by the owner on Apr 29, 2020. It is now read-only.

Commit

Permalink
errcheck wants errors
Browse files Browse the repository at this point in the history
  • Loading branch information
rudle committed Feb 9, 2017
1 parent 3cad4b6 commit b9afecb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/ds/farm_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -506,7 +506,7 @@ func TestFarmSchedule(t *testing.T) {
dsID = labeled.Labels.Get(DSIDLabel)
Assert(t).AreEqual(anotherDSData.ID.String(), dsID, "Unexpected dsID labeled")

dsStore.Delete(anotherDSData.ID)
err = dsStore.Delete(anotherDSData.ID)
Assert(t).IsNil(err, "Expected no error deleting daemon set")
err = waitForDelete(dsf, anotherDSData.ID)
Assert(t).IsNil(err, "Expected daemon set to be deleted in farm")
Expand Down Expand Up @@ -904,7 +904,7 @@ func TestMultipleFarms(t *testing.T) {
dsID = labeled.Labels.Get(DSIDLabel)
Assert(t).AreEqual(anotherDSData.ID.String(), dsID, "Unexpected dsID labeled")

dsStore.Delete(anotherDSData.ID)
err = dsStore.Delete(anotherDSData.ID)
Assert(t).IsNil(err, "Expected no error deleting daemon set")

// Verify node3 is unscheduled
Expand Down

0 comments on commit b9afecb

Please sign in to comment.