From 23159ac81a8091601d89ee4f568985fd8ef1ce85 Mon Sep 17 00:00:00 2001 From: asamuj <105436033+asamuj@users.noreply.github.com> Date: Fri, 20 Dec 2024 16:33:29 +0800 Subject: [PATCH] Update storage/paths/local.go Co-authored-by: Rod Vagg --- storage/paths/local.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/storage/paths/local.go b/storage/paths/local.go index 5f66191cdd..ef206edb88 100644 --- a/storage/paths/local.go +++ b/storage/paths/local.go @@ -379,7 +379,7 @@ func (st *Local) declareSectors(ctx context.Context, p string, id storiface.ID, ents, err := os.ReadDir(filepath.Join(p, t.String())) if err != nil { if os.IsNotExist(err) { - if err := os.MkdirAll(filepath.Join(p, t.String()), 0o755); err != nil { // nolint + if err := os.MkdirAll(filepath.Join(p, t.String()), 0755); err != nil { // nolint return xerrors.Errorf("openPath mkdir '%s': %w", filepath.Join(p, t.String()), err) }