cleaning up

mine
derailed 2020-03-04 13:12:46 -07:00
parent 413605a3e7
commit b2bb15bfd7
3 changed files with 3 additions and 2 deletions

View File

@ -12,7 +12,7 @@ On Slack? Please join us [K9slackers](https://join.slack.com/t/k9sers/shared_inv
---
<img src="https://raw.githubusercontent.com/derailed/k9s/master/assets/story/this_is_fine.png" align="center" width="500" height="auto"/>
<img src="https://raw.githubusercontent.com/derailed/k9s/master/assets/story/this_is_fine_300.png" align="center" width="500" height="auto"/>
## Pulses Part Duh!

View File

@ -257,7 +257,7 @@ func ToMB(v int64) int64 {
return v / megaByte
}
// ToPercentageentage computes percentage.
// ToPercentage computes percentage.
func ToPercentage(v1, v2 int64) int {
if v2 == 0 {
return 0

View File

@ -39,6 +39,7 @@ func NewGauge(id string) *Gauge {
}
}
// SetResolution overrides the default number of digits to display.
func (g *Gauge) SetResolution(n int) {
g.resolution = n
}