Skip to content

Commit c3235b3

Browse files
committed
[fix] Fixed missing EOL on printed helper messages
1 parent 24d5c9b commit c3235b3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

redis-bechmark-go.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -137,11 +137,11 @@ func main() {
137137
// a WaitGroup for the goroutines to tell us they've stopped
138138
wg := sync.WaitGroup{}
139139
if !*loop {
140-
fmt.Printf("Total clients: %d. Commands per client: %d Total commands: %d", *clients, samplesPerClient, *numberRequests)
140+
fmt.Printf("Total clients: %d. Commands per client: %d Total commands: %d\n", *clients, samplesPerClient, *numberRequests)
141141
} else {
142-
fmt.Printf("Running in loop until you hit Ctrl+C")
142+
fmt.Printf("Running in loop until you hit Ctrl+C\n")
143143
}
144-
fmt.Printf("Using random seed: %d", *seed)
144+
fmt.Printf("Using random seed: %d\n", *seed)
145145
rand.Seed(*seed)
146146
cluster := getOSSClusterConn(connectionStr, opts, *clients)
147147
for channel_id := 1; uint64(channel_id) <= *clients; channel_id++ {

0 commit comments

Comments
 (0)