all: assert internal objects implement interfaces

This commit is contained in:
Dan Williams
2016-12-14 17:09:01 -06:00
parent 20ae9e156d
commit 5852c60bc4
6 changed files with 22 additions and 0 deletions

View File

@ -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