hashicorp / packer-plugin-vsphere

Packer plugin for VMware vSphere Builder
https://www.packer.io/docs/builders/vsphere
Mozilla Public License 2.0
93 stars 91 forks source link

chore: address `io/ioutil` depreciation #361

Closed tenthirtyam closed 5 months ago

tenthirtyam commented 5 months ago

io/ioutil is deprecated as of Go 1.16:

packer-plugin-vsphere on ī‚  chore/ioutil-depreciation [!] via šŸ¹ v1.21.6 took 29.6s 
āœ¦ āžœ make build

packer-plugin-vsphere on ī‚  chore/ioutil-depreciation [!] via šŸ¹ v1.21.6 took 8.7s 
āœ¦ āžœ make test
?       github.com/hashicorp/packer-plugin-vsphere      [no test files]
?       github.com/hashicorp/packer-plugin-vsphere/builder/vsphere/common/testing       [no test files]
?       github.com/hashicorp/packer-plugin-vsphere/builder/vsphere/examples/driver      [no test files]
?       github.com/hashicorp/packer-plugin-vsphere/version      [no test files]
ok      github.com/hashicorp/packer-plugin-vsphere/builder/vsphere/clone        3.255s
ok      github.com/hashicorp/packer-plugin-vsphere/builder/vsphere/common       9.730s
ok      github.com/hashicorp/packer-plugin-vsphere/builder/vsphere/driver       8.574s
ok      github.com/hashicorp/packer-plugin-vsphere/builder/vsphere/iso  7.139s
ok      github.com/hashicorp/packer-plugin-vsphere/builder/vsphere/supervisor   15.838s
ok      github.com/hashicorp/packer-plugin-vsphere/post-processor/vsphere       9.135s
ok      github.com/hashicorp/packer-plugin-vsphere/post-processor/vsphere-template      11.109s