Merged in updateRunningOnTaskRunningStatus (pull request #9)
critical: baseScheduler#Running wasn't getting update properly. Approved-by: Akash Kothawale <akothaw1@binghamton.edu>
This commit is contained in:
parent
b877d31cb8
commit
0f305ab796
2 changed files with 11 additions and 12 deletions
|
@ -30,7 +30,7 @@ func createLogDir(prefix string, startTime time.Time) string {
|
|||
logDirName += "-"
|
||||
logDirName += strconv.Itoa(startTime.Second())
|
||||
if _, err := os.Stat(logDirName); os.IsNotExist(err) {
|
||||
os.Mkdir(logDirName, 0700)
|
||||
os.Mkdir(logDirName, 0755)
|
||||
} else {
|
||||
log.Println("Unable to create log directory: ", err)
|
||||
logDirName = ""
|
||||
|
|
Reference in a new issue