Fixed errcheck linter complaints

This commit is contained in:
2019-06-05 15:45:54 +09:00
parent 190a85fe08
commit 940e949a30
15 changed files with 112 additions and 33 deletions

View File

@ -41,7 +41,11 @@ func startJobs() {
// Log paths
logsPath := path.Join(arn.Root, "logs")
jobLogsPath := path.Join(arn.Root, "logs", "jobs")
os.Mkdir(jobLogsPath, 0777)
err := os.Mkdir(jobLogsPath, 0777)
if err != nil {
panic(err)
}
// Scheduler log
mainLog := log.New()