Skip to content

Commit

Permalink
builtin provisioners are re-used and not Closed
Browse files Browse the repository at this point in the history
  • Loading branch information
jbardin committed Jan 19, 2021
1 parent 63a9ab4 commit ff30030
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion builtin/provisioners/file/resource_provisioner.go
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,5 @@ func (p *provisioner) Stop() error {
}

func (p *provisioner) Close() error {
p.cancel()
return nil
}
1 change: 0 additions & 1 deletion builtin/provisioners/local-exec/resource_provisioner.go
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,6 @@ func (p *provisioner) Stop() error {
}

func (p *provisioner) Close() error {
p.cancel()
return nil
}

Expand Down
1 change: 0 additions & 1 deletion builtin/provisioners/remote-exec/resource_provisioner.go
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,6 @@ func (p *provisioner) Stop() error {
}

func (p *provisioner) Close() error {
p.cancel()
return nil
}

Expand Down

0 comments on commit ff30030

Please sign in to comment.