Merge pull request #15174 from Microsoft/10662-top

Windows: Top (non-)implementation
This commit is contained in:
Phil Estes 2015-07-30 19:49:15 -04:00
Родитель f8f4deb0b2 0a9ec21818
Коммит 044b56e94f
2 изменённых файлов: 13 добавлений и 0 удалений

Просмотреть файл

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

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