Skip to content

Commit

Permalink
Fixes backup success log
Browse files Browse the repository at this point in the history
  • Loading branch information
easyselfhost committed Apr 2, 2023
1 parent 45385d4 commit db9c270
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cron.go
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,9 @@ func genJobFunc(name string, wf Workflow) func() {
err := wf.Run()
if err != nil {
glog.Errorf("Job %s: failed to run backup workflow %v", name, err)
} else {
glog.Infof("Job %s: completed successfully", name)
}
glog.Infof("Job %s: completed successfully")
}
}

Expand Down

0 comments on commit db9c270

Please sign in to comment.