mirror of
https://github.com/bpg/terraform-provider-proxmox.git
synced 2025-07-01 02:52:58 +00:00
fix make test
error
`make test` was failing with ``` # github.com/danitso/terraform-provider-proxmox/proxmox proxmox/virtual_environment_vm_types.go:1148:3: Sprintf format %s has arg r.Model of wrong type *string make: *** [Makefile:82: test] Error 2 ```
This commit is contained in:
parent
2cbaa057eb
commit
90cda091a9
@ -1145,7 +1145,7 @@ func (r CustomVirtualIODevices) EncodeValues(key string, v *url.Values) error {
|
||||
// EncodeValues converts a CustomWatchdogDevice struct to a URL vlaue.
|
||||
func (r CustomWatchdogDevice) EncodeValues(key string, v *url.Values) error {
|
||||
values := []string{
|
||||
fmt.Sprintf("model=%s", r.Model),
|
||||
fmt.Sprintf("model=%+v", r.Model),
|
||||
}
|
||||
|
||||
if r.Action != nil {
|
||||
|
Loading…
Reference in New Issue
Block a user