ContainX / openstack4j.com

OpenStack4j Website Source
0 stars 11 forks source link

Wrong Api documentation #29

Open kushalagrawal opened 7 years ago

kushalagrawal commented 7 years ago

Hi,

In the below link there is a section where is provides a way to update service endpoint but it seems to be wrong as there is no such method available. http://www.openstack4j.com/learn/identity/identity-v3/#services-and-endpoints

Wrong peice of code.

Service service = os.identity().services().get("serviceId");

I verified it in Latest openstack4J code as well thinking I might have old code,

https://github.com/ContainX/openstack4j/blob/master/core/src/main/java/org/openstack4j/api/identity/v3/IdentityService.java

PS: I am using OS4J version 3.0.3

auhlig commented 7 years ago

Ah. It should be serviceEndpoints() instead of services(). My fault. Will correct.

kushalagrawal commented 7 years ago

Thanks :+1: