Skip to content

Commit

Permalink
[Fix] Fix Update
Browse files Browse the repository at this point in the history
  • Loading branch information
muneeb-jan committed Oct 1, 2024
1 parent 65bd7ca commit 37f1046
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion openstack/sdrs/v1/protectedinstances/Update.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ type UpdateOpts struct {

// Update accepts a UpdateOpts struct and uses the values to update an Instance.The response code from api is 200
func Update(client *golangsdk.ServiceClient, instanceId string, opts UpdateOpts) (*Instance, error) {
b, err := build.RequestBody(opts, "")
b, err := build.RequestBody(opts, "protected_instance")
if err != nil {
return nil, err
}
Expand Down

0 comments on commit 37f1046

Please sign in to comment.