Commit 8ca4d100 authored by Wojciech Tyczynski's avatar Wojciech Tyczynski

Fix logging in scalability tests

parent 045c25fb
...@@ -1004,8 +1004,8 @@ func RunRC(config RCConfig) error { ...@@ -1004,8 +1004,8 @@ func RunRC(config RCConfig) error {
} }
} }
Logf("%v Pods: %d out of %d created, %d running, %d pending, %d waiting, %d inactive, %d unknown ", Logf("%v %v Pods: %d out of %d created, %d running, %d pending, %d waiting, %d inactive, %d unknown ",
time.Now(), len(pods), config.Replicas, running, pending, waiting, inactive, unknown) time.Now(), rc.Name, len(pods), config.Replicas, running, pending, waiting, inactive, unknown)
if config.PodStatusFile != nil { if config.PodStatusFile != nil {
fmt.Fprintf(config.PodStatusFile, "%s, %d, running, %d, pending, %d, waiting, %d, inactive, %d, unknown\n", time.Now(), running, pending, waiting, inactive, unknown) fmt.Fprintf(config.PodStatusFile, "%s, %d, running, %d, pending, %d, waiting, %d, inactive, %d, unknown\n", time.Now(), running, pending, waiting, inactive, unknown)
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment