Commit 6feab662 authored by ligaishun's avatar ligaishun

Update node.go

parent e703acdd
...@@ -51,6 +51,7 @@ func UpdateNode(c *gin.Context){ ...@@ -51,6 +51,7 @@ func UpdateNode(c *gin.Context){
appG := app.Gin{C: c} appG := app.Gin{C: c}
if flag{ if flag{
appG.Response(http.StatusOK,e.SUCCESS_RUNNING,"node is updating") appG.Response(http.StatusOK,e.SUCCESS_RUNNING,"node is updating")
return
} }
if app.NodeError!=nil{ if app.NodeError!=nil{
appG.Response(http.StatusOK, e.NODE_ERROR,"node internal error,could not start node") appG.Response(http.StatusOK, e.NODE_ERROR,"node internal error,could not start node")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment