mirror of
https://github.com/rancher/plugins.git
synced 2025-09-08 18:53:45 +00:00
all: assert internal objects implement interfaces
This commit is contained in:
@@ -47,6 +47,9 @@ type Args struct {
|
||||
Path string
|
||||
}
|
||||
|
||||
// Args implements the CNIArgs interface
|
||||
var _ CNIArgs = &Args{}
|
||||
|
||||
func (args *Args) AsEnv() []string {
|
||||
env := os.Environ()
|
||||
pluginArgsStr := args.PluginArgsStr
|
||||
|
Reference in New Issue
Block a user