Commit 9ac92630 authored by szh's avatar szh

== to !=

parent bc010eaf
...@@ -41,7 +41,6 @@ func RaspberryChan() { ...@@ -41,7 +41,6 @@ func RaspberryChan() {
err := backup() err := backup()
if err != nil { if err != nil {
tlog.Error("RaspberryChan backup fail ", "err", err) tlog.Error("RaspberryChan backup fail ", "err", err)
} }
updateJobMap(value.JobID,err) updateJobMap(value.JobID,err)
tlog.Info("RaspberryChan backup success", "err", nil) tlog.Info("RaspberryChan backup success", "err", nil)
...@@ -83,7 +82,7 @@ func RaspberryChan() { ...@@ -83,7 +82,7 @@ func RaspberryChan() {
tlog.Info("RaspberryChan resetWallet success", "err", nil) tlog.Info("RaspberryChan resetWallet success", "err", nil)
case "CLOSE": case "CLOSE":
err := closeNode() err := closeNode()
if err == nil { if err != nil {
tlog.Error("RaspberryChan resetWallet fail ", "err", err) tlog.Error("RaspberryChan resetWallet fail ", "err", err)
} }
updateJobMap(value.JobID,err) updateJobMap(value.JobID,err)
......
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