From b42ec877ed21e99253856da136eebbff3aeaa03e Mon Sep 17 00:00:00 2001 From: Tudor Malene Date: Mon, 28 Oct 2024 13:21:17 +0000 Subject: [PATCH] create dir --- go/host/main/main.go | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/go/host/main/main.go b/go/host/main/main.go index c47c33ff36..835cdc31df 100644 --- a/go/host/main/main.go +++ b/go/host/main/main.go @@ -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 {