From a4482d9a6f230091274d45afa0ea34d5cfe6c4d9 Mon Sep 17 00:00:00 2001 From: Derek McGowan Date: Tue, 3 Sep 2019 17:18:38 -0700 Subject: [PATCH] Fix proxy plugin config validation Proxy plugins are keyed only on the identifier, the type is specified within the proxy plugin configuration which maps to the full URI. The proxy plugin configuration is not passed to the plugin for configuration like other plugins. Signed-off-by: Derek McGowan --- services/server/config/config.go | 5 ----- 1 file changed, 5 deletions(-) diff --git a/services/server/config/config.go b/services/server/config/config.go index 5464b6e7d..c6e572753 100644 --- a/services/server/config/config.go +++ b/services/server/config/config.go @@ -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 }