Merge pull request #3615 from dmcgowan/fix-proxy-plugin-config
Fix proxy plugin config validation
This commit is contained in:
commit
3050b36640
@ -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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user