mirror of
https://github.com/weaveworks/scope.git
synced 2026-09-06 10:17:19 +00:00
Limit network namespace code to compile on Linux only
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
// +build !linux
|
||||
|
||||
package docker
|
||||
|
||||
import (
|
||||
"errors"
|
||||
"net"
|
||||
)
|
||||
|
||||
func namespaceIPAddresses(processID int) ([]*net.IPNet, error) {
|
||||
return nil, errors.New("namespaceIPAddresses not implemented on this platform")
|
||||
}
|
||||
Reference in New Issue
Block a user