Merge pull request #198 from smashwilson/storage-consistency
Storage consistency
diff --git a/endpoint_search.go b/endpoint_search.go
index 16e170d..828bcfd 100644
--- a/endpoint_search.go
+++ b/endpoint_search.go
@@ -11,6 +11,8 @@
)
// Availability describes the accessibility of a specific service endpoint.
+// Identity v2 lists these as different kinds of URLs ("adminURL", "internalURL", and "publicURL"), while
+// v3 lists them as "Interfaces".
type Availability string
const (
@@ -41,7 +43,7 @@
Region string
// Availability is the visibility of the endpoint to be returned: AvailabilityPublic, AvailabilityInternal, or AvailabilityAdmin.
- // Availability is not required, and defaults to InterfacePublic.
+ // Availability is not required, and defaults to AvailabilityPublic.
// Not all providers or services offer all Availability options.
Availability Availability
}