From dd450ecb4a723ce9d24fa641e41692e1072c9621 Mon Sep 17 00:00:00 2001 From: Asim Aslam Date: Mon, 1 Mar 2021 20:48:28 +0000 Subject: [PATCH] fix comment --- sentiment/subscriber/subscriber.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sentiment/subscriber/subscriber.go b/sentiment/subscriber/subscriber.go index 8b52fdb..073c1ec 100644 --- a/sentiment/subscriber/subscriber.go +++ b/sentiment/subscriber/subscriber.go @@ -26,7 +26,7 @@ func EnrichPost(ctx context.Context, post *pb.Post) error { score := model.Analyze(post.Title) post.Metadata["sentiment"] = fmt.Sprintf("%.1f", score) - logger.Info("Setting score %.1f for post %v", score, post.Title) + logger.Infof("Setting score %.1f for post %v", score, post.Title) // now save the post PostsClient.Save(ctx, &pb.SaveRequest{