Skip to content

Commit

Permalink
Merge pull request #338 from Tinyblargon/undeprecate
Browse files Browse the repository at this point in the history
remove deprecation warning
  • Loading branch information
Tinyblargon authored Jun 8, 2024
2 parents 6676d89 + 92090e9 commit 9d245a2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions proxmox/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -1494,7 +1494,7 @@ func getStorageAndVolumeName(
return storageName, volumeName
}

// Deprecated: use ConfigQemu.Update() instead
// Still used by Terraform. Deprecated: use ConfigQemu.Update() instead
func (c *Client) UpdateVMPool(vmr *VmRef, pool string) (exitStatus interface{}, err error) {
// Same pool
if vmr.pool == pool {
Expand Down Expand Up @@ -1632,7 +1632,7 @@ func (c *Client) UpdateVMHA(vmr *VmRef, haState string, haGroup string) (exitSta
return
}

// Deprecated: use ListPoolsWithComments() instead
// Still used by Terraform. Deprecated: use ListPoolsWithComments() instead
func (c *Client) GetPoolList() (pools map[string]interface{}, err error) {
return c.GetItemList("/pools")
}
Expand Down

0 comments on commit 9d245a2

Please sign in to comment.