niujiuru пре 10 месеци
родитељ
комит
18aa0b3956
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      reporter/reporter.go

+ 1 - 1
reporter/reporter.go

@@ -487,7 +487,7 @@ func (r *MQTTReporter) execOneCmd(msg mqtt.Message) {
 	case "reboot":
 		err := exec.Command("reboot").Run()
 		resp = buildResp(req, "Success", err)
-	// Call-?:调用了目前不支持的方法, 返回未找到
+	// Call-?:无效, 客户端调用了目前不支持的方法
 	default:
 		resp = jsonrpc2.BuildError(req, jsonrpc2.ErrMethodNotFound, "")
 	}