Windows: Top (non-)implementation

Signed-off-by: John Howard <jhoward@microsoft.com>
This commit is contained in:
John Howard 2015-07-30 14:25:15 -07:00
parent 8505183252
commit 0a9ec21818
2 changed files with 13 additions and 0 deletions

View File

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

11
daemon/top_windows.go Normal file
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")
}