hashicorp / packer-plugin-googlecompute

Packer plugin for Google Compute Builder
https://www.packer.io/docs/builders/googlecompute
Mozilla Public License 2.0
25 stars 54 forks source link

Remove unneeded Sprintf #96

Closed jason-h-35 closed 2 years ago

jason-h-35 commented 2 years ago
jasonhatton@localhost:~/code/packer-plugin-googlecompute$ golangci-lint run
builder/googlecompute/step_start_tunnel_test.go:78:5: S1025: the argument's underlying type is a slice of bytes, should use a simple conversion instead of fmt.Sprintf (gosimple)
        if fmt.Sprintf("%s", f) != expected {

This PR fixes this lint.

hashicorp-cla commented 2 years ago

CLA assistant check
All committers have signed the CLA.