Skip to content

Commit

Permalink
Update cmd/lotus-miner/storage.go
Browse files Browse the repository at this point in the history
Co-authored-by: Rod Vagg <[email protected]>
  • Loading branch information
asamuj and rvagg authored Dec 20, 2024
1 parent 292493f commit a3683a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/lotus-miner/storage.go
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ over time
return xerrors.Errorf("marshaling storage config: %w", err)
}

if err := os.WriteFile(filepath.Join(p, metaFile), b, 0o644); err != nil {
if err := os.WriteFile(filepath.Join(p, metaFile), b, 0644); err != nil {
return xerrors.Errorf("persisting storage metadata (%s): %w", filepath.Join(p, metaFile), err)
}
}
Expand Down

0 comments on commit a3683a3

Please sign in to comment.