Allow os.Mkdir errors
This commit is contained in:
parent
3dc4914970
commit
c281bc520b
@ -41,11 +41,7 @@ func startJobs() {
|
|||||||
// Log paths
|
// Log paths
|
||||||
logsPath := path.Join(arn.Root, "logs")
|
logsPath := path.Join(arn.Root, "logs")
|
||||||
jobLogsPath := path.Join(arn.Root, "logs", "jobs")
|
jobLogsPath := path.Join(arn.Root, "logs", "jobs")
|
||||||
err := os.Mkdir(jobLogsPath, 0777)
|
_ = os.Mkdir(jobLogsPath, 0777)
|
||||||
|
|
||||||
if err != nil {
|
|
||||||
panic(err)
|
|
||||||
}
|
|
||||||
|
|
||||||
// Scheduler log
|
// Scheduler log
|
||||||
mainLog := log.New()
|
mainLog := log.New()
|
||||||
|
Loading…
Reference in New Issue
Block a user