mirror of
https://github.com/bcicen/ctop.git
synced 2025-12-06 15:16:41 +08:00
remove unneeded fmt.Sprintf
This commit is contained in:
@@ -19,7 +19,7 @@ func (row *Compact) SetIO(read int64, write int64) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func (row *Compact) SetPids(val int) {
|
func (row *Compact) SetPids(val int) {
|
||||||
label := fmt.Sprintf("%s", strconv.Itoa(val))
|
label := strconv.Itoa(val)
|
||||||
row.Pids.Set(label)
|
row.Pids.Set(label)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user