From ca04a8e5e9c218ce21231f0dcf0d401017632b53 Mon Sep 17 00:00:00 2001 From: michaelkad Date: Tue, 5 Dec 2023 13:29:22 -0600 Subject: [PATCH] update err msg --- ibm/service/power/resource_ibm_pi_instance.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ibm/service/power/resource_ibm_pi_instance.go b/ibm/service/power/resource_ibm_pi_instance.go index a169b6d2e41..241f7c32981 100644 --- a/ibm/service/power/resource_ibm_pi_instance.go +++ b/ibm/service/power/resource_ibm_pi_instance.go @@ -769,7 +769,7 @@ func resourceIBMPIInstanceUpdate(ctx context.Context, d *schema.ResourceData, me } _, err = client.Update(instanceID, body) if err != nil { - return diag.Errorf("failed to update the VirtualOpticalDevice with the change %v with: %v", vod, err) + return diag.Errorf("failed to update the VirtualOpticalDevice with the change %v with: %v", vod.(string), err) } _, err = isWaitForPIInstanceAvailable(ctx, client, instanceID, "OK") if err != nil {