commit | d2b755f4034c418bbb7d6cb0bd59d5d85617978e | [log] [tgz] |
---|---|---|
author | Jamie Hannaford <jamie.hannaford@rackspace.com> | Wed Oct 07 14:01:57 2015 +0200 |
committer | Jamie Hannaford <jamie.hannaford@rackspace.com> | Wed Oct 14 12:14:39 2015 +0200 |
tree | 643a7cf958ca201b4ff4947e6255c650ff0c9587 | |
parent | 05665d66b099599dceaba95aee2dd8fd1dc13537 [diff] [blame] |
add various fixes
diff --git a/openstack/db/v1/instances/requests.go b/openstack/db/v1/instances/requests.go index bd70295..425db13 100644 --- a/openstack/db/v1/instances/requests.go +++ b/openstack/db/v1/instances/requests.go
@@ -179,7 +179,7 @@ var res ActionResult _, res.Err = client.Request("POST", actionURL(client, id), gophercloud.RequestOpts{ - JSONBody: map[string]interface{}{"restart": true}, + JSONBody: map[string]interface{}{"restart": struct{}{}}, OkCodes: []int{202}, })