mirror of
https://github.com/bcicen/ctop.git
synced 2024-08-30 18:23:19 +00:00
remove unneeded cast
This commit is contained in:
parent
78caad2dbd
commit
8a0bd3cf8a
@ -105,7 +105,7 @@ func (cm *Docker) refresh(c *container.Container) {
|
|||||||
c.SetMeta("created", insp.Created.Format("Mon Jan 2 15:04:05 2006"))
|
c.SetMeta("created", insp.Created.Format("Mon Jan 2 15:04:05 2006"))
|
||||||
c.SetMeta("health", insp.State.Health.Status)
|
c.SetMeta("health", insp.State.Health.Status)
|
||||||
for _, env := range insp.Config.Env {
|
for _, env := range insp.Config.Env {
|
||||||
c.SetMeta("[ENV-VAR]", string(env))
|
c.SetMeta("[ENV-VAR]", env)
|
||||||
}
|
}
|
||||||
c.SetState(insp.State.Status)
|
c.SetState(insp.State.Status)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user