mirror of
https://github.com/hashicorp/packer.git
synced 2026-05-28 04:35:38 -04:00
Merge pull request #11821 from hashicorp/linter_pass
Remove dead code / superfluous fmt.Sprintf statements
This commit is contained in:
commit
035c133a7d
1 changed files with 1 additions and 3 deletions
|
|
@ -28,8 +28,6 @@ import (
|
|||
"github.com/hashicorp/packer-plugin-sdk/uuid"
|
||||
)
|
||||
|
||||
var retryableSleep = 2 * time.Second
|
||||
|
||||
var psEscape = strings.NewReplacer(
|
||||
"$", "`$",
|
||||
"\"", "`\"",
|
||||
|
|
@ -259,7 +257,7 @@ func extractScript(p *Provisioner) (string, error) {
|
|||
}
|
||||
|
||||
func (p *Provisioner) Provision(ctx context.Context, ui packersdk.Ui, comm packersdk.Communicator, generatedData map[string]interface{}) error {
|
||||
ui.Say(fmt.Sprintf("Provisioning with Powershell..."))
|
||||
ui.Say("Provisioning with Powershell...")
|
||||
p.communicator = comm
|
||||
p.generatedData = generatedData
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue