Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(113)

Unified Diff: client/local_test.go

Issue 9603044: Add juju-tools endpoint to test identity service (Closed)
Patch Set: Created 11 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: client/local_test.go
=== modified file 'client/local_test.go'
--- client/local_test.go 2013-05-06 01:42:41 +0000
+++ client/local_test.go 2013-05-21 01:07:40 +0000
@@ -56,7 +56,7 @@
serviceDef := identityservice.Service{"nova", "compute", []identityservice.Endpoint{
identityservice.Endpoint{PublicURL: "http://nova2", Region: "zone2.RegionOne"},
}}
- s.service.(*openstackservice.Openstack).Identity.(*identityservice.KeyPair).AddService(serviceDef)
+ s.service.(*openstackservice.Openstack).Identity.AddService(serviceDef)
dimitern 2013/05/21 07:39:41 nice!
case identity.AuthUserPass:
// The openstack test service sets up userpass authentication.
s.service = openstackservice.New(s.cred, identity.AuthUserPass)
@@ -64,7 +64,7 @@
serviceDef := identityservice.Service{"nova", "compute", []identityservice.Endpoint{
identityservice.Endpoint{PublicURL: "http://nova2", Region: "zone2.RegionOne"},
}}
- s.service.(*openstackservice.Openstack).Identity.(*identityservice.UserPass).AddService(serviceDef)
+ s.service.(*openstackservice.Openstack).Identity.AddService(serviceDef)
case identity.AuthLegacy:
legacy := identityservice.NewLegacy()

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b