mirror of
https://github.com/bpg/terraform-provider-proxmox.git
synced 2025-08-22 19:38:35 +00:00
fix(provider): panic crash in provider, interface conversion error (#545)
Co-authored-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
This commit is contained in:
parent
44d6d6b080
commit
13326bbd33
@ -136,7 +136,7 @@ func providerConfigure(_ context.Context, d *schema.ResourceData) (interface{},
|
||||
node := n.(map[string]interface{})
|
||||
nodeOverrides[node[mkProviderSSHNodeName].(string)] = ssh.ProxmoxNode{
|
||||
Address: node[mkProviderSSHNodeAddress].(string),
|
||||
Port: node[mkProviderSSHNodePort].(int32),
|
||||
Port: int32(node[mkProviderSSHNodePort].(int)),
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user