mirror of
https://github.com/docker/docs.git
synced 2026-04-02 17:28:55 +07:00
Merge pull request #15174 from Microsoft/10662-top
Windows: Top (non-)implementation
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
//+build !windows
|
||||
|
||||
package daemon
|
||||
|
||||
import (
|
||||
11
daemon/top_windows.go
Normal file
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")
|
||||
}
|
||||
Reference in New Issue
Block a user