commit | dcda97f5ea5839c424ae4ef5f088d685a293c3f6 | [log] [tgz] |
---|---|---|
author | Jamie Hannaford <jamie.hannaford@rackspace.com> | Mon Nov 24 14:39:24 2014 +0100 |
committer | Jamie Hannaford <jamie.hannaford@rackspace.com> | Mon Nov 24 14:39:24 2014 +0100 |
tree | 8f1edf6d528946cec17f6884e257d1d0abbafc2b | |
parent | 930df420ef25a68a72f91081fa5ce796caf6708d [diff] |
Modifying acceptance tests and tweaking response code
diff --git a/openstack/compute/v2/extensions/defsecrules/requests.go b/openstack/compute/v2/extensions/defsecrules/requests.go index d411a37..702a7a7 100644 --- a/openstack/compute/v2/extensions/defsecrules/requests.go +++ b/openstack/compute/v2/extensions/defsecrules/requests.go
@@ -104,7 +104,7 @@ _, result.Err = perigee.Request("DELETE", resourceURL(client, id), perigee.Options{ MoreHeaders: client.AuthenticatedHeaders(), - OkCodes: []int{202}, + OkCodes: []int{204}, }) return result