Merge lp:~gz/goose/client_identity_refactor_fix into lp:~gophers/goose/trunk
| Status: | Merged |
|---|---|
| Merged at revision: | 19 |
| Proposed branch: | lp:~gz/goose/client_identity_refactor_fix |
| Merge into: | lp:~gophers/goose/trunk |
| Diff against target: |
115 lines (+11/-11) 6 files modified
client/client.go (+4/-4) identity/identity.go (+1/-1) identity/legacy.go (+2/-2) identity/legacy_test.go (+2/-2) identity/userpass.go (+1/-1) identity/userpass_test.go (+1/-1) |
| To merge this branch: | bzr merge lp:~gz/goose/client_identity_refactor_fix |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| John A Meinel (community) | Needs Information on 2012-11-21 | ||
| Dimiter Naydenov (community) | 2012-11-21 | Approve on 2012-11-21 | |
|
Review via email:
|
|||
Description of the Change
Fixes up a couple of things from the client refactoring to get the identity service to build correctly again. This includes addressing one of the points from review about the naming of the token field.
| Martin Packman (gz) wrote : | # |
Right, only affected those tests but worth a fixup landing.
| John A Meinel (jameinel) wrote : | # |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 2012-11-21 16:20, Martin Packman wrote:
> Martin Packman has proposed merging
> lp:~gz/goose/client_identity_refactor_fix into lp:goose.
>
> Requested reviews: The Go Language Gophers (gophers)
>
> For more details, see:
> https:/
>
> Fixes up a couple of things from the client refactoring to get the
> identity service to build correctly again. This includes addressing
> one of the points from review about the naming of the token field.
>
review: needsinfo
I thought the TokenId => Token was considered controversial. So I'm
not sure if that is ready to land before we discuss it.
*I* like the change :). But I would like to have the conversation and
not sidestep Ian on it.
John
=:->
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (Cygwin)
Comment: Using GnuPG with undefined - http://
iEYEARECAAYFAlC
GwgAoILxZSY5eW+
=oUS9
-----END PGP SIGNATURE-----
| Martin Packman (gz) wrote : | # |
Yes, unfortunately I read Ian's response on the review comments only after making this change. Because the identity package tests still asserted on Token, rather than using the rename to TokenId brought in with client, something needed to change. Will respond to the point on the original branch review.

LGTM - I suppose the build error was because Auth was expecting *Credentials, so passing &creds solved it.