Skip to content

Commit

Permalink
Added newline character to log message in LogNodeStatus function
Browse files Browse the repository at this point in the history
  • Loading branch information
p-shubh committed Dec 21, 2024
1 parent a0ecc0f commit edf9dec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/v1/nodes/nodeLogs/node.logs.go
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ func LogNodeStatus(peerID string, status string) error {
cachedStatus, err := RedisClient.Get(Ctx, cacheKey).Result()

if err == redis.Nil {
fmt.Printf("peerID : %v, status : %v ", peerID, status)
fmt.Printf("peerID : %v, status : %v \n", peerID, status)

// If Redis does not have data for the PeerID, check the database
var nodeLog models.NodeLog
Expand Down

0 comments on commit edf9dec

Please sign in to comment.