mirror of
https://github.com/alibaba/higress.git
synced 2026-03-14 13:50:46 +08:00
Fix typos (#2628)
Signed-off-by: co63oc <co63oc@users.noreply.github.com> Co-authored-by: 澄潭 <zty98751@alibaba-inc.com> Co-authored-by: xingpiaoliang <erasernoobx@outlook.com>
This commit is contained in:
@@ -77,7 +77,7 @@ func (n *NacosMcpRegistry) refreshToolsListForGroup(group string, serviceMatcher
|
||||
serviceList := services.Doms
|
||||
pattern, err := regexp.Compile(serviceMatcher)
|
||||
if err != nil {
|
||||
api.LogErrorf("Match service error for patter %s", serviceMatcher)
|
||||
api.LogErrorf("Match service error for pattern %s", serviceMatcher)
|
||||
return false
|
||||
}
|
||||
|
||||
|
||||
@@ -116,7 +116,7 @@ type TickFuncEntry struct {
|
||||
|
||||
var globalOnTickFuncs []TickFuncEntry = []TickFuncEntry{}
|
||||
|
||||
// Registe multiple onTick functions. Parameters include:
|
||||
// Register multiple onTick functions. Parameters include:
|
||||
// 1) tickPeriod: the execution period of tickFunc, this value should be a multiple of 100
|
||||
// 2) tickFunc: the function to be executed
|
||||
//
|
||||
|
||||
@@ -143,7 +143,7 @@ func RedisCall(cluster Cluster, respQuery []byte, callback RedisResponseCallback
|
||||
response, err := proxywasm.GetRedisCallResponse(0, responseSize)
|
||||
var responseValue resp.Value
|
||||
if status != 0 {
|
||||
proxywasm.LogCriticalf("Error occured while calling redis, it seems cannot connect to the redis cluster. request-id: %s", requestID)
|
||||
proxywasm.LogCriticalf("Error occurred while calling redis, it seems cannot connect to the redis cluster. request-id: %s", requestID)
|
||||
responseValue = resp.ErrorValue(fmt.Errorf("cannot connect to redis cluster"))
|
||||
} else {
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user