server/datastore: add missing err check in label creation test (#1683)

This commit is contained in:
ferhat elmas 2017-12-22 04:07:09 +01:00 committed by Zachary Wasserman
parent d2a7e38c85
commit 657494e504

View file

@ -234,6 +234,7 @@ func testSearchLabelsLimit(t *testing.T, db kolide.Datastore) {
Name: "All Hosts",
LabelType: kolide.LabelTypeBuiltIn,
})
require.Nil(t, err)
for i := 0; i < 15; i++ {
_, err := db.NewLabel(&kolide.Label{