mirror of https://github.com/bcicen/ctop.git
Fix formating (Spaces -> Tabs)
This commit is contained in:
parent
6b8840647e
commit
9968c504a5
|
@ -7,7 +7,7 @@ import (
|
|||
"time"
|
||||
|
||||
"github.com/op/go-logging"
|
||||
"github.com/hako/durafmt"
|
||||
"github.com/hako/durafmt"
|
||||
|
||||
"github.com/bcicen/ctop/connector/collector"
|
||||
"github.com/bcicen/ctop/connector/manager"
|
||||
|
@ -214,7 +214,7 @@ func calcUptime(insp *api.Container) string {
|
|||
endTime = time.Now()
|
||||
}
|
||||
uptime := endTime.Sub(insp.State.StartedAt)
|
||||
return durafmt.Parse(uptime).LimitFirstN(1).String()
|
||||
return durafmt.Parse(uptime).LimitFirstN(1).String()
|
||||
}
|
||||
|
||||
// Mark all container IDs for refresh
|
||||
|
|
Loading…
Reference in New Issue