go fmt
diff --git a/openstack/compute/images/client.go b/openstack/compute/images/client.go
index a7466bb..c5f1897 100644
--- a/openstack/compute/images/client.go
+++ b/openstack/compute/images/client.go
@@ -5,16 +5,16 @@
)
type Client struct {
- endpoint string
+ endpoint string
authority identity.AuthResults
- options identity.AuthOptions
+ options identity.AuthOptions
}
func NewClient(e string, a identity.AuthResults, ao identity.AuthOptions) *Client {
return &Client{
- endpoint: e,
+ endpoint: e,
authority: a,
- options: ao,
+ options: ao,
}
}
@@ -32,4 +32,3 @@
"X-Auth-Token": t.Id,
}, nil
}
-
diff --git a/openstack/compute/images/images.go b/openstack/compute/images/images.go
index d53edce..cc08589 100644
--- a/openstack/compute/images/images.go
+++ b/openstack/compute/images/images.go
@@ -17,14 +17,14 @@
//
// The Updated field indicates the last time this image was changed.
type Image struct {
- Created string
- Id string
- MinDisk int
- MinRam int
- Name string
- Progress int
- Status string
- Updated string
+ Created string
+ Id string
+ MinDisk int
+ MinRam int
+ Name string
+ Progress int
+ Status string
+ Updated string
}
func GetImages(lr ListResults) ([]Image, error) {
@@ -44,4 +44,3 @@
}
return images, nil
}
-
diff --git a/openstack/compute/images/requests.go b/openstack/compute/images/requests.go
index 2aa4723..ff875c9 100644
--- a/openstack/compute/images/requests.go
+++ b/openstack/compute/images/requests.go
@@ -5,7 +5,6 @@
"github.com/racker/perigee"
)
-
var ErrNotImplemented = fmt.Errorf("Images functionality not implemented.")
type ListResults map[string]interface{}
@@ -19,9 +18,8 @@
}
err = perigee.Get(c.getListUrl(), perigee.Options{
- Results: &lr,
+ Results: &lr,
MoreHeaders: h,
})
return lr, err
}
-