Merge pull request #15174 from Microsoft/10662-top

Windows: Top (non-)implementation
Upstream-commit: 044b56e94fcb1def77efda36a2cf60f97e82e866
Component: engine
This commit is contained in:
Phil Estes
2015-07-30 19:49:15 -04:00
2 changed files with 13 additions and 0 deletions

View File

@ -1,3 +1,5 @@
//+build !windows
package daemon
import (

View 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")
}