app/vminsert/opentsdbhttp: remove FATAL prefix from logger.Fatalf errors for the sake of consistency with other logger.Fatalf calls

This commit is contained in:
Aliaksandr Valialkin 2019-09-19 22:15:43 +03:00
parent 00cfb2d2b9
commit d32f88c378

View File

@ -38,7 +38,7 @@ func Serve(addr string, maxReqSize int64) {
return
}
if err != nil {
logger.Fatalf("FATAL: error serving HTTP OpenTSDB: %s", err)
logger.Fatalf("error serving HTTP OpenTSDB: %s", err)
}
}()
}
@ -65,6 +65,6 @@ func Stop() {
ctx, cancel := context.WithTimeout(context.Background(), 5*time.Second)
defer cancel()
if err := httpServer.Shutdown(ctx); err != nil {
logger.Fatalf("FATAL: cannot close HTTP OpenTSDB server: %s", err)
logger.Fatalf("cannot close HTTP OpenTSDB server: %s", err)
}
}