Skip to content

Commit

Permalink
Closers
Browse files Browse the repository at this point in the history
  • Loading branch information
elffjs committed Nov 6, 2024
1 parent b154f2a commit afae1ed
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions cmd/devices-api/find_old_style_tasks.go
Original file line number Diff line number Diff line change
Expand Up @@ -100,9 +100,13 @@ func (fost *findOldStyleTasks) Execute(_ context.Context, _ *flag.FlagSet, _ ...
}
}
}

_ = pc.Close()
}

fost.logger.Info().Msgf("Finished examining %d partitions.", len(ps))

_ = cons.Close()

return subcommands.ExitSuccess
}

0 comments on commit afae1ed

Please sign in to comment.