mirror of
https://github.com/nxshock/gron.git
synced 2024-11-27 03:41:00 +05:00
Format message
This commit is contained in:
parent
1db1c307d3
commit
62ed212e3c
@ -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…
Reference in New Issue
Block a user