Merge pull request #11821 from hashicorp/linter_pass

Remove dead code / superfluous fmt.Sprintf statements
pull/11825/head
Lucas Bajolet 4 years ago committed by GitHub
commit 035c133a7d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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…
Cancel
Save