requests should not be in floating point (#26)

This commit is contained in:
Michael Quigley 2022-08-09 16:00:58 -04:00
parent 71aeac9d18
commit c63cafbf51
No known key found for this signature in database
GPG Key ID: 9B60314A9DD20A62

View File

@ -142,7 +142,7 @@ func handleHttp(_ *cobra.Command, args []string) {
for len(requestData) > w-17 {
requestData = requestData[1:]
}
spk.Title = fmt.Sprintf(" requests (%0.2f) ", currentRequests)
spk.Title = fmt.Sprintf(" requests (%d) ", int(currentRequests))
spk.Data = requestData
ui.Render(p, slg)
}