mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-29 14:37:00 +00:00
Merge pull request #14683 from erictune/always-experimental
Auto commit by PR queue bot
This commit is contained in:
commit
ffc1641f4a
@ -143,9 +143,7 @@ func setExperimentalDefaults(config *Config) error {
|
||||
return fmt.Errorf("Experimental API version '%s' is not recognized (valid values: %s)",
|
||||
config.Version, strings.Join(latest.GroupOrDie("experimental").Versions, ", "))
|
||||
}
|
||||
if config.Codec == nil {
|
||||
config.Codec = versionInterfaces.Codec
|
||||
}
|
||||
config.Codec = versionInterfaces.Codec
|
||||
if config.QPS == 0 {
|
||||
config.QPS = 5
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user