Skip to content

Commit

Permalink
update err msg
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelkad committed Dec 5, 2023
1 parent 484c02b commit ca04a8e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ibm/service/power/resource_ibm_pi_instance.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit ca04a8e

Please sign in to comment.