mirror of
https://github.com/alibaba/higress.git
synced 2026-06-26 10:45:25 +08:00
fix: fix some typo errors (#3988)
Co-authored-by: woody <yaodiwu618@gmail.com>
This commit is contained in:
@@ -138,11 +138,11 @@ func parseOverrideRuleConfig(json gjson.Result, global config.PluginConfig, plug
|
||||
|
||||
pluginConfig.FromJson(json)
|
||||
if err := pluginConfig.Validate(); err != nil {
|
||||
log.Errorf("overriden rule config is invalid: %v", err)
|
||||
log.Errorf("overridden rule config is invalid: %v", err)
|
||||
return err
|
||||
}
|
||||
if err := pluginConfig.Complete(); err != nil {
|
||||
log.Errorf("failed to apply overriden rule config: %v", err)
|
||||
log.Errorf("failed to apply overridden rule config: %v", err)
|
||||
return err
|
||||
}
|
||||
|
||||
|
||||
@@ -577,7 +577,7 @@ func (c *ProviderConfig) FromJson(json gjson.Result) {
|
||||
if compatible := json.Get("qwenEnableCompatible"); compatible.Exists() {
|
||||
c.qwenEnableCompatible = compatible.Bool()
|
||||
} else {
|
||||
// Default use official compatiable mode
|
||||
// Default use official compatible mode
|
||||
c.qwenEnableCompatible = true
|
||||
}
|
||||
c.qwenDomain = json.Get("qwenDomain").String()
|
||||
|
||||
Reference in New Issue
Block a user