Skip to content

Commit

Permalink
Merge pull request #530 from brotherlogic/bounce
Browse files Browse the repository at this point in the history
Adds some
  • Loading branch information
brotherlogic authored Aug 18, 2020
2 parents 6cfd288 + 62b4808 commit 3e9717e
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 3e9717e

Please sign in to comment.