Skip to content

Commit

Permalink
Merge 62b4808 into 6cfd288
Browse files Browse the repository at this point in the history
  • Loading branch information
brotherlogic committed Aug 18, 2020
2 parents 6cfd288 + 62b4808 commit bab9a09
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dlog.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ func (s *GoServer) hasScratch() bool {
func (s *GoServer) prepDLog() {
if s.hasScratch() {
filename := fmt.Sprintf("/media/scratch/dlogs/%v/%v.logs", s.Registry.GetName(), time.Now().Unix())
os.MkdirAll(fmt.Sprintf("/media/scratch/dlogs/%v", s.Registry.GetName()), 0777)
os.MkdirAll(fmt.Sprintf("/media/scratch/dlogs/%v-dlogs/", s.Registry.GetName()), 0777)
fhandle, err := os.Create(filename)
if err != nil {
s.Log(fmt.Sprintf("Unable to open file: %v", err))
Expand Down

0 comments on commit bab9a09

Please sign in to comment.