Merge pull request #15174 from Microsoft/10662-top
Windows: Top (non-)implementation Upstream-commit: 044b56e94fcb1def77efda36a2cf60f97e82e866 Component: engine
This commit is contained in:
@ -1,3 +1,5 @@
|
||||
//+build !windows
|
||||
|
||||
package daemon
|
||||
|
||||
import (
|
||||
11
components/engine/daemon/top_windows.go
Normal file
11
components/engine/daemon/top_windows.go
Normal file
@ -0,0 +1,11 @@
|
||||
package daemon
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
|
||||
"github.com/docker/docker/api/types"
|
||||
)
|
||||
|
||||
func (daemon *Daemon) ContainerTop(name string, psArgs string) (*types.ContainerProcessList, error) {
|
||||
return nil, fmt.Errorf("Top is not supported on Windows")
|
||||
}
|
||||
Reference in New Issue
Block a user