mirror of
https://github.com/nxshock/gron.git
synced 2025-07-01 00:13:36 +05:00
Format message
This commit is contained in:
parent
1db1c307d3
commit
62ed212e3c
1 changed files with 1 additions and 1 deletions
|
@ -65,7 +65,7 @@ func handleForceStart(w http.ResponseWriter, r *http.Request) {
|
|||
if err != nil {
|
||||
host = r.RemoteAddr
|
||||
}
|
||||
log.WithField("job", "http_server").Printf("forced start %s from %s", job.Name, host)
|
||||
log.WithField("job", "http_server").Printf("Forced start %s from %s.", job.Name, host)
|
||||
go job.Run()
|
||||
time.Sleep(time.Second / 4) // wait some time for job start
|
||||
http.Redirect(w, r, "/", http.StatusTemporaryRedirect)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue