Skip to content

Commit

Permalink
create dir
Browse files Browse the repository at this point in the history
  • Loading branch information
tudor-malene committed Oct 28, 2024
1 parent ea83312 commit b42ec87
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions go/host/main/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,11 @@ func main() {
panic(fmt.Errorf("could not parse config. Cause: %w", err))
}

err = os.Mkdir("/data", os.FileMode(0777))
if err != nil {
panic(fmt.Errorf("could not create /data directory: %w", err))
}

// temporary code to help identify OOM
go func() {
for {
Expand Down

0 comments on commit b42ec87

Please sign in to comment.