packer-cn/builder/qemu
Wilken Rivera 66ad6f3483
builders: Fix gosimple S1007 linting issue (#8871)
Results before change
```
⇶  golangci-lint run ./... --disable-all --enable=gosimple | grep 1007
builder/alicloud/ecs/image_config.go:208:9: S1007: should use raw string
post-processor/vsphere-template/step_mark_as_template.go:130:8: S1007: shape twice (gosimple)
builder/azure/arm/config.go:58:27: S1007: should use raw string (`...`)
builder/azure/arm/config.go:59:27: S1007: should use raw string (`...`)
builder/qemu/driver.go:192:15: S1007: should use raw string (`...`)
```

Results after change
```
⇶  golangci-lint run ./... --disable-all --enable=gosimple | grep 1007
```
2020-03-11 10:29:22 +01:00
..
artifact.go fmt 2014-10-28 08:43:19 -07:00
builder.go Clearly document all template-engine-enabled options (#8770) 2020-02-20 11:05:27 +01:00
builder.hcl2spec.go Fix HCL2 code generation for slices within another slice (#8669) 2020-02-03 17:03:28 +01:00
builder_test.go Format code with `gofmt -s -w` 2020-01-28 16:52:50 -05:00
driver.go builders: Fix gosimple S1007 linting issue (#8871) 2020-03-11 10:29:22 +01:00
ssh.go allow user to set winrm_host override like we do ssh_host override 2020-01-30 15:22:22 -08:00
step_configure_qmp.go delete qmp socket path. Also, clean up unnecessary use of statebag to recieve step values. (#8572) 2020-01-07 11:18:01 +01:00
step_configure_vnc.go Add VNC Password support to QEMU builder 2019-07-03 18:38:56 -06:00
step_convert_disk.go Add additional disk support for QEMU builder. 2019-06-24 17:35:06 -06:00
step_copy_disk.go Fix gosimple S1025 linting errors (#8838) 2020-03-04 15:31:30 -05:00
step_create_disk.go Fix gosimple S1025 linting errors (#8838) 2020-03-04 15:31:30 -05:00
step_forward_ssh.go fix copypasta mistake switching ssh port mix/max for vnc port min/max 2019-05-06 15:01:09 -07:00
step_http_ip_discover.go Add golangci-lint to project (#8686) 2020-02-14 11:42:29 -05:00
step_http_ip_discover_test.go Add golangci-lint to project (#8686) 2020-02-14 11:42:29 -05:00
step_prepare_output_dir.go rename interpolation context from ctx to ictx and contexts to ctx to avoid conflicts 2019-04-03 15:56:15 +02:00
step_resize_disk.go Fix gosimple S1025 linting errors (#8838) 2020-03-04 15:31:30 -05:00
step_run.go Revert "fix: persist default drive/device" (#8440) 2019-12-03 13:42:11 +01:00
step_set_iso.go rename interpolation context from ctx to ictx and contexts to ctx to avoid conflicts 2019-04-03 15:56:15 +02:00
step_shutdown.go Change back to make sure all durations are a time.Duration 2019-10-31 16:12:07 +01:00
step_type_boot_command.go Extract http ip discover to a new step 2020-01-27 17:06:56 +01:00