1
0
mirror of https://github.com/mainflux/mainflux.git synced 2025-04-26 13:48:53 +08:00

NOISSUE - Remove redundant error check (#292)

This commit is contained in:
Dušan Borovčanin 2018-05-21 20:11:04 +02:00 committed by Dejan Mijić
parent 3d134d52a6
commit c5a40aeffa

View File

@ -41,10 +41,7 @@ func (repo *influxRepo) Save(msg mainflux.Message) error {
}
bp.AddPoint(pt)
if err := repo.client.Write(bp); err != nil {
return err
}
return nil
return repo.client.Write(bp)
}
func (repo *influxRepo) tagsOf(msg *mainflux.Message) tags {