diff --git a/go.mod b/go.mod index db304f9554..f1af3a657b 100644 --- a/go.mod +++ b/go.mod @@ -7,7 +7,7 @@ toolchain go1.22.5 require ( github.com/IBM-Cloud/bluemix-go v0.0.0-20240926024252-81b3928fd062 github.com/IBM-Cloud/container-services-go-sdk v0.0.0-20240725064144-454a2ae23113 - github.com/IBM-Cloud/power-go-client v1.9.0-beta5 + github.com/IBM-Cloud/power-go-client v1.9.0-beta8 github.com/IBM/apigateway-go-sdk v0.0.0-20210714141226-a5d5d49caaca github.com/IBM/appconfiguration-go-admin-sdk v0.3.0 github.com/IBM/appid-management-go-sdk v0.0.0-20210908164609-dd0e0eaf732f diff --git a/go.sum b/go.sum index 461a96117a..2d2f46dab8 100644 --- a/go.sum +++ b/go.sum @@ -118,8 +118,8 @@ github.com/IBM-Cloud/bluemix-go v0.0.0-20240926024252-81b3928fd062/go.mod h1:/7h github.com/IBM-Cloud/container-services-go-sdk v0.0.0-20240725064144-454a2ae23113 h1:f2Erqfea1dKpaTFagTJM6W/wnD3JGq/Vn9URh8nuRwk= github.com/IBM-Cloud/container-services-go-sdk v0.0.0-20240725064144-454a2ae23113/go.mod h1:xUQL9SGAjoZFd4GNjrjjtEpjpkgU7RFXRyHesbKTjiY= github.com/IBM-Cloud/ibm-cloud-cli-sdk v0.5.3/go.mod h1:RiUvKuHKTBmBApDMUQzBL14pQUGKcx/IioKQPIcRQjs= -github.com/IBM-Cloud/power-go-client v1.9.0-beta5 h1:W2mnJxwuS+pP8Dsu3HtEqg+csx7z8MQuFfiB6xee91o= -github.com/IBM-Cloud/power-go-client v1.9.0-beta5/go.mod h1:UDyXeIKEp6r7yWUXYu3r0ZnFSlNZ2YeQTHwM2Tmlgv0= +github.com/IBM-Cloud/power-go-client v1.9.0-beta8 h1:wLRzZw/jOg8mGfGFCXutKrymZHwGaih/EpZrHTSp8Ko= +github.com/IBM-Cloud/power-go-client v1.9.0-beta8/go.mod h1:UDyXeIKEp6r7yWUXYu3r0ZnFSlNZ2YeQTHwM2Tmlgv0= github.com/IBM-Cloud/softlayer-go v1.0.5-tf h1:koUAyF9b6X78lLLruGYPSOmrfY2YcGYKOj/Ug9nbKNw= github.com/IBM-Cloud/softlayer-go v1.0.5-tf/go.mod h1:6HepcfAXROz0Rf63krk5hPZyHT6qyx2MNvYyHof7ik4= github.com/IBM/apigateway-go-sdk v0.0.0-20210714141226-a5d5d49caaca h1:crniVcf+YcmgF03NmmfonXwSQ73oJF+IohFYBwknMxs= diff --git a/ibm/service/power/resource_ibm_pi_instance.go b/ibm/service/power/resource_ibm_pi_instance.go index 972883435d..c5d32178d9 100644 --- a/ibm/service/power/resource_ibm_pi_instance.go +++ b/ibm/service/power/resource_ibm_pi_instance.go @@ -1015,7 +1015,7 @@ func resourceIBMPIInstanceUpdate(ctx context.Context, d *schema.ResourceData, me Description: description, Serial: &serial, } - err := vsnClient.PVMInstanceAttachVSN(instanceID, addBody) + _, err := vsnClient.PVMInstanceAttachVSN(instanceID, addBody) if err != nil { return diag.FromErr(err) } diff --git a/ibm/service/power/resource_ibm_pi_virtual_serial_number.go b/ibm/service/power/resource_ibm_pi_virtual_serial_number.go index 2188e9f9dc..3418175c6b 100644 --- a/ibm/service/power/resource_ibm_pi_virtual_serial_number.go +++ b/ibm/service/power/resource_ibm_pi_virtual_serial_number.go @@ -134,7 +134,7 @@ func resourceIBMPIVirtualSerialNumberCreate(ctx context.Context, d *schema.Resou if v, ok := d.GetOk(Arg_Description); ok { addBody.Description = v.(string) } - err = client.PVMInstanceAttachVSN(pvmInstanceIdArg, addBody) + _, err = client.PVMInstanceAttachVSN(pvmInstanceIdArg, addBody) if err != nil { return diag.FromErr(err) } @@ -335,7 +335,7 @@ func resourceIBMPIVirtualSerialNumberUpdate(ctx context.Context, d *schema.Resou description := v.(string) addBody.Description = description } - err = client.PVMInstanceAttachVSN(newIdString, addBody) + _, err = client.PVMInstanceAttachVSN(newIdString, addBody) if err != nil { return diag.FromErr(err) }