Skip to content

Commit

Permalink
fix: correct an ambiguous typo mistake
Browse files Browse the repository at this point in the history
Signed-off-by: Huweicai <[email protected]>
  • Loading branch information
Huweicai authored and leonrayang committed Sep 7, 2022
1 parent 19afb59 commit b67b79a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/source/faq.rst
Original file line number Diff line number Diff line change
Expand Up @@ -446,7 +446,7 @@ Supported `log-level`: `debug,info,warn,error,critical,read,write,fatal`
.. code-block:: bash
clusterID[xxx] addr[xxx]_op[xx] has no response util time out
clusterID[xxx] addr[xxx]_op[xx] has no response until time out
Analysis:The response timed out when the Master sends the [Op] command to mn or dn, check the network between Master and mn/dn; check whether the dn/mn service process is alive.
Expand Down
4 changes: 2 additions & 2 deletions master/admin_task_manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -96,10 +96,10 @@ func (sender *AdminTaskManager) getToBeDeletedTasks() (delTasks []*proto.AdminTa

for _, task := range sender.TaskMap {
if task.CheckTaskTimeOut() {
log.LogWarnf(fmt.Sprintf("clusterID[%v] %v has no response util time out",
log.LogWarnf(fmt.Sprintf("clusterID[%v] %v has no response until time out",
sender.clusterID, task.ID))
if task.SendTime > 0 {
Warn(sender.clusterID, fmt.Sprintf("clusterID[%v] %v has no response util time out",
Warn(sender.clusterID, fmt.Sprintf("clusterID[%v] %v has no response until time out",
sender.clusterID, task.ID))
}

Expand Down

0 comments on commit b67b79a

Please sign in to comment.