lib/fog/openstack/auth/token/v3.rb in fog-openstack-0.3.10 vs lib/fog/openstack/auth/token/v3.rb in fog-openstack-1.0.0
- old
+ new
@@ -35,19 +35,11 @@
else
{'auth' => {'identity' => identity}}
end
end
- def prefix_path(uri)
- if uri.path =~ /\/v3(\/)*.*$/
- ''
- else
- '/v3'
- end
- end
-
def path
- '/auth/tokens'
+ '/v3/auth/tokens'
end
def scope
return @project.identity if @project
return @domain.identity if @domain