Skip to content

Commit

Permalink
Fixup linting
Browse files Browse the repository at this point in the history
  • Loading branch information
ZenGround0 committed Dec 26, 2024
1 parent 6c8cc58 commit 8613cf8
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion cmd/lotus-shed/migrations.go
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,11 @@ var migrationsCmd = &cli.Command{
if err != nil {
return fmt.Errorf("failed to open universal blockstore %w", err)
}
defer closer()
defer func() {
if err := closer(); err != nil {
log.Warnf("failed to close universal blockstore: %s", err)
}
}()

path, err := lkrepo.SplitstorePath()
if err != nil {
Expand Down

0 comments on commit 8613cf8

Please sign in to comment.