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) }