use format specifier

Co-authored-by: Toru Komatsu <k0ma@utam0k.jp>
This commit is contained in:
Saza
2025-07-01 23:57:49 +09:00
committed by GitHub
parent 08dd9c47b3
commit 95b1151d2a

View File

@@ -648,7 +648,7 @@ func (tc *throughputCollector) collect() []DataItem {
// tc.schedulingThroughputs can be empty if the scenario doesn't have
// enough number of pods and nodes to take more than throughputSampleInterval (i.e. 1 second).
if throughputSummary.Data == nil {
klog.Warningf("Failed to measure SchedulingThroughput for %s. The scenario needs to have enough pods and nodes to take more than 1 second.", tc.resultLabels["Name"])
klog.Warningf("Failed to measure SchedulingThroughput for %s. The scenario needs to have enough pods and nodes to take more than %s.", tc.resultLabels["Name"], throughputSampleInterval,)
}
return []DataItem{throughputSummary}