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