Merge pull request #3615 from dmcgowan/fix-proxy-plugin-config

Fix proxy plugin config validation
This commit is contained in:
Phil Estes
2019-09-04 10:09:24 -04:00
committed by GitHub

View File

@@ -107,11 +107,6 @@ func (c *Config) ValidateV2() error {
return errors.Errorf("invalid plugin key URI %q expect io.containerd.x.vx", p)
}
}
for p := range c.ProxyPlugins {
if len(strings.Split(p, ".")) < 4 {
return errors.Errorf("invalid proxy plugin key URI %q expect io.containerd.x.vx", p)
}
}
return nil
}