Skip to content

Commit

Permalink
engine: resources: Remove unused wait group
Browse files Browse the repository at this point in the history
  • Loading branch information
purpleidea committed Nov 7, 2024
1 parent ed91397 commit 27dd9b2
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions engine/resources/virt_builder.go
Original file line number Diff line number Diff line change
Expand Up @@ -342,9 +342,6 @@ func (obj *VirtBuilderRes) Cleanup() error {
// one watches the on disk filename if it creates one, as well as the runtime
// value the kernel has stored!
func (obj *VirtBuilderRes) Watch(ctx context.Context) error {
wg := &sync.WaitGroup{}
defer wg.Wait()

recurse := false // single file
recWatcher, err := recwatch.NewRecWatcher(obj.getOutput(), recurse)
if err != nil {
Expand Down

0 comments on commit 27dd9b2

Please sign in to comment.