more error types; RequestOptsBuilder error fixes
diff --git a/openstack/orchestration/v1/stackevents/requests.go b/openstack/orchestration/v1/stackevents/requests.go
index bd1a24a..6112571 100644
--- a/openstack/orchestration/v1/stackevents/requests.go
+++ b/openstack/orchestration/v1/stackevents/requests.go
@@ -9,7 +9,7 @@
func Find(c *gophercloud.ServiceClient, stackName string) FindResult {
var res FindResult
- _, res.Err = c.Request("GET", findURL(c, stackName), gophercloud.RequestOpts{
+ _, res.Err = c.Request("GET", findURL(c, stackName), &gophercloud.RequestOpts{
JSONResponse: &res.Body,
})
return res
diff --git a/openstack/orchestration/v1/stackresources/requests.go b/openstack/orchestration/v1/stackresources/requests.go
index e8debdd..3ce40eb 100644
--- a/openstack/orchestration/v1/stackresources/requests.go
+++ b/openstack/orchestration/v1/stackresources/requests.go
@@ -10,7 +10,7 @@
var res FindResult
// Send request to API
- _, res.Err = c.Request("GET", findURL(c, stackName), gophercloud.RequestOpts{
+ _, res.Err = c.Request("GET", findURL(c, stackName), &gophercloud.RequestOpts{
JSONResponse: &res.Body,
})
return res
diff --git a/openstack/orchestration/v1/stacktemplates/requests.go b/openstack/orchestration/v1/stacktemplates/requests.go
index 090fa2c..a4687ef 100644
--- a/openstack/orchestration/v1/stacktemplates/requests.go
+++ b/openstack/orchestration/v1/stacktemplates/requests.go
@@ -9,7 +9,7 @@
// Get retreives data for the given stack template.
func Get(c *gophercloud.ServiceClient, stackName, stackID string) GetResult {
var res GetResult
- _, res.Err = c.Request("GET", getURL(c, stackName, stackID), gophercloud.RequestOpts{
+ _, res.Err = c.Request("GET", getURL(c, stackName, stackID), &gophercloud.RequestOpts{
JSONResponse: &res.Body,
})
return res