mirror of
https://github.com/bcicen/ctop.git
synced 2024-08-30 18:23:19 +00:00
add --connector switch, validation
This commit is contained in:
@ -19,7 +19,7 @@ type Docker struct {
|
||||
lock sync.RWMutex
|
||||
}
|
||||
|
||||
func NewDocker() *Docker {
|
||||
func NewDocker() Connector {
|
||||
// init docker client
|
||||
client, err := api.NewClientFromEnv()
|
||||
if err != nil {
|
||||
|
Reference in New Issue
Block a user