invoke: better name and unit test coverage for GetVersionInfo

This commit is contained in:
Gabe Rosenhouse
2016-09-02 16:39:01 -04:00
parent 97192fc979
commit bf31ed1591
4 changed files with 33 additions and 11 deletions

View File

@ -67,7 +67,7 @@ func (c *CNIConfig) GetVersionInfo(pluginType string) (version.PluginInfo, error
return nil, err
}
return invoke.ExecPluginForVersion(pluginPath)
return invoke.GetVersionInfo(pluginPath)
}
// =====