Merge lp:~allenap/gwacl/remove-role-endpoints-2 into lp:gwacl
Proposed by
Gavin Panella
Status: | Merged |
---|---|
Approved by: | Gavin Panella |
Approved revision: | 204 |
Merged at revision: | 203 |
Proposed branch: | lp:~allenap/gwacl/remove-role-endpoints-2 |
Merge into: | lp:gwacl |
Diff against target: |
69 lines (+4/-16) 2 files modified
example/management/run.go (+3/-9) x509dispatcher.go (+1/-7) |
To merge this branch: | bzr merge lp:~allenap/gwacl/remove-role-endpoints-2 |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Julian Edwards (community) | Approve | ||
Review via email: mp+177065@code.launchpad.net |
Commit message
Niceties missed from the main remove-
To post a comment you must log in.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
review: approve
Approved but I'm interested to know why you changed a couple of things!
> defer func() { Info("Removing role input endpoint...") - //
> FIXME: Something above - AddRoleEndpoints seems a prime suspect - -
> // causes Azure to do something asynchronously, which we must wait
> for - // before attempting this call, or it will blow up
> with a 409.
Was this fixed previously then? Or was it not a problem?
> -func newX509Response() *x509Response { - return &x509Response{ StatusCode ReadAll( httpResponse. Body) if err !=
> - Body: make([]byte, 0), - } -} -
[snip]
> - response := newX509Response() + response :=
> &x509Response{} response.StatusCode = httpResponse.
> response.Body, err = ioutil.
> nil {
>
This is removing a make() on the Body - is that right/ok? Go still
leaves me wondering whether it has changed the semantics when you
assign to Body in the second-last line here ... :/
Cheers. www.enigmail. net/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://
iEYEARECAAYFAlH x4mAACgkQWhGlTF 8G/HdkIwCgpzEEt zP+ZKpCNC68JEo9 +a9t x/Iz3qoUbMJP2Jn c2
1csAn1YEXFNDv2D
=IDOH
-----END PGP SIGNATURE-----