Skip to content

Commit

Permalink
fixed a typo in the client making the CI fail
Browse files Browse the repository at this point in the history
  • Loading branch information
CommanderStorm committed Oct 4, 2023
1 parent e106f32 commit 53c94cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/public/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ func main() {
ctx = metadata.NewOutgoingContext(ctx, md)

log.Info("Trying to fetch top news")
if r, err := c.GetTopNews(ctx, &pb.GetTopNewsRequest{}); err != nil {
if r, err := c.GetNews(ctx, &pb.GetNewsRequest{}); err != nil {
log.WithError(err).Fatal("could not greet")
} else {
log.WithField("topNewsResponse", r.String()).Info("fetched top news successfully")
Expand Down

0 comments on commit 53c94cf

Please sign in to comment.