mirror of
https://github.com/rancher/plugins.git
synced 2025-09-08 02:39:14 +00:00
all: assert internal objects implement interfaces
This commit is contained in:
@@ -62,6 +62,9 @@ type netNS struct {
|
||||
closed bool
|
||||
}
|
||||
|
||||
// netNS implements the NetNS interface
|
||||
var _ NetNS = &netNS{}
|
||||
|
||||
func getCurrentThreadNetNSPath() string {
|
||||
// /proc/self/ns/net returns the namespace of the main thread, not
|
||||
// of whatever thread this goroutine is running on. Make sure we
|
||||
|
Reference in New Issue
Block a user