Skip to content

Commit a4482d9

Browse files
committed
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 <[email protected]>
1 parent 4a2f61c commit a4482d9

1 file changed

Lines changed: 0 additions & 5 deletions

File tree

services/server/config/config.go

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -107,11 +107,6 @@ func (c *Config) ValidateV2() error {
107107
return errors.Errorf("invalid plugin key URI %q expect io.containerd.x.vx", p)
108108
}
109109
}
110-
for p := range c.ProxyPlugins {
111-
if len(strings.Split(p, ".")) < 4 {
112-
return errors.Errorf("invalid proxy plugin key URI %q expect io.containerd.x.vx", p)
113-
}
114-
}
115110
return nil
116111
}
117112

0 commit comments

Comments
 (0)