Merge lp:~chipaca/ubuntu-push/out-with-the-new-in-with-the-oh-wait into lp:ubuntu-push/automatic
Proposed by
John Lenton
Status: | Merged |
---|---|
Approved by: | John Lenton |
Approved revision: | 139 |
Merged at revision: | 138 |
Proposed branch: | lp:~chipaca/ubuntu-push/out-with-the-new-in-with-the-oh-wait |
Merge into: | lp:ubuntu-push/automatic |
Diff against target: |
374 lines (+55/-140) 11 files modified
Makefile (+0/-2) README (+0/-4) client/client.go (+0/-2) client/client_test.go (+5/-2) client/session/session.go (+21/-15) client/session/session_test.go (+29/-17) debian/control (+0/-4) dependencies.tsv (+0/-2) ubuntu-push-client.go (+0/-3) util/auth.go (+0/-36) util/auth_test.go (+0/-53) |
To merge this branch: | bzr merge lp:~chipaca/ubuntu-push/out-with-the-new-in-with-the-oh-wait |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Samuele Pedroni | Approve | ||
Review via email: mp+217790@code.launchpad.net |
Commit message
Move to an external helper for auth bits.
Description of the change
Move to an external helper for auth bits.
To post a comment you must log in.
123 + if sess.AuthHelper == nil || len(sess. AuthHelper) == 0 {
len() is enough, len of a nil slice is legal in go and also gives 0