mirror of
https://github.com/openziti/zrok.git
synced 2025-01-09 07:28:15 +01:00
requests should not be in floating point (#26)
This commit is contained in:
parent
71aeac9d18
commit
c63cafbf51
@ -142,7 +142,7 @@ func handleHttp(_ *cobra.Command, args []string) {
|
|||||||
for len(requestData) > w-17 {
|
for len(requestData) > w-17 {
|
||||||
requestData = requestData[1:]
|
requestData = requestData[1:]
|
||||||
}
|
}
|
||||||
spk.Title = fmt.Sprintf(" requests (%0.2f) ", currentRequests)
|
spk.Title = fmt.Sprintf(" requests (%d) ", int(currentRequests))
|
||||||
spk.Data = requestData
|
spk.Data = requestData
|
||||||
ui.Render(p, slg)
|
ui.Render(p, slg)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user