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