From d31c068ae47af2450b46c9e25c07e1ded8e16c4e Mon Sep 17 00:00:00 2001 From: Matt Bostock Date: Mon, 28 Aug 2017 11:03:07 +0100 Subject: [PATCH 1/2] api.go: Fix typo in comment (#3122) --- web/api/v2/api.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/api/v2/api.go b/web/api/v2/api.go index 5bfb6bccb..c8da742a4 100644 --- a/web/api/v2/api.go +++ b/web/api/v2/api.go @@ -176,7 +176,7 @@ func (s *Admin) TSDBSnapshot(_ context.Context, _ *pb.TSDBSnapshotRequest) (*pb. return &pb.TSDBSnapshotResponse{Name: name}, nil } -// DeleteSeries imeplements pb.AdminServer. +// DeleteSeries implements pb.AdminServer. func (s *Admin) DeleteSeries(_ context.Context, r *pb.SeriesDeleteRequest) (*pb.SeriesDeleteResponse, error) { mint, maxt, err := extractTimeRange(r.MinTime, r.MaxTime) if err != nil { From 64973f5c654609ce6e04899be1a28fc1526702e7 Mon Sep 17 00:00:00 2001 From: Matt Bostock Date: Mon, 28 Aug 2017 11:03:25 +0100 Subject: [PATCH 2/2] cmd/prometheus: Fix capitalisation in log line (#3123) Change 'Ready' to 'ready'. --- cmd/prometheus/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/prometheus/main.go b/cmd/prometheus/main.go index 20cfaa853..fd85dd0b1 100644 --- a/cmd/prometheus/main.go +++ b/cmd/prometheus/main.go @@ -331,7 +331,7 @@ func main() { // Set web server to ready. webHandler.Ready() - log.Info("Server is Ready to receive requests.") + log.Info("Server is ready to receive requests.") term := make(chan os.Signal) signal.Notify(term, os.Interrupt, syscall.SIGTERM)