mirror of
https://github.com/bcicen/ctop.git
synced 2025-12-06 15:16:41 +08:00
remove expanded widgets for now
This commit is contained in:
@@ -5,7 +5,6 @@ import (
|
||||
|
||||
"github.com/bcicen/ctop/cwidgets"
|
||||
"github.com/bcicen/ctop/cwidgets/compact"
|
||||
"github.com/bcicen/ctop/cwidgets/expanded"
|
||||
"github.com/bcicen/ctop/metrics"
|
||||
)
|
||||
|
||||
@@ -35,10 +34,6 @@ func (c *Container) ShortName() string {
|
||||
return strings.Replace(c.name, "/", "", 1) // use primary container name
|
||||
}
|
||||
|
||||
func (c *Container) Expand() {
|
||||
c.widgets = expanded.NewExpanded(c.ShortID(), c.name)
|
||||
}
|
||||
|
||||
func (c *Container) SetState(s string) {
|
||||
c.state = s
|
||||
c.widgets.SetStatus(s)
|
||||
|
||||
Reference in New Issue
Block a user