First monitoring API endpoint implemented
diff --git a/openstack/identity/service_catalog.go b/openstack/identity/service_catalog.go
index fc2717a..af6bbdb 100644
--- a/openstack/identity/service_catalog.go
+++ b/openstack/identity/service_catalog.go
@@ -7,17 +7,17 @@
}
type CatalogEntry struct {
- Name string
- Type string
+ Name string
+ Type string
Endpoints []Endpoint
}
type Endpoint struct {
- TenantId string
- PublicURL string
+ TenantId string
+ PublicURL string
InternalURL string
- Region string
- VersionId string
+ Region string
+ VersionId string
VersionInfo string
VersionList string
}
@@ -45,8 +45,8 @@
return ces, err
}
ces[i] = CatalogEntry{
- Name: d["name"].(string),
- Type: d["type"].(string),
+ Name: d["name"].(string),
+ Type: d["type"].(string),
Endpoints: eps,
}
}
diff --git a/openstack/identity/service_catalog_test.go b/openstack/identity/service_catalog_test.go
index 4411b9f..82e4d9a 100644
--- a/openstack/identity/service_catalog_test.go
+++ b/openstack/identity/service_catalog_test.go
@@ -1,8 +1,8 @@
package identity
import (
- "testing"
"encoding/json"
+ "testing"
)
func TestServiceCatalog(t *testing.T) {
@@ -88,4 +88,4 @@
return true
}
return false
-}
\ No newline at end of file
+}