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
commit 3050b36640
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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) 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 return nil
} }