plugin/store.go
Method Store.Get
has 8 return statements (exceeds 4 allowed). Open
Open
func (ps *Store) Get(name, capability string, mode int) (plugingetter.CompatPlugin, error) {
// Lookup using new model.
if ps != nil {
p, err := ps.GetV2Plugin(name)
if err == nil {
Method Store.resolvePluginID
has 7 return statements (exceeds 4 allowed). Open
Open
func (ps *Store) resolvePluginID(idOrName string) (string, error) {
if validFullID.MatchString(idOrName) {
return idOrName, nil
}