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

Issue 101410045: oauth2: cache write should return an error instead of invoking an error handler

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years, 6 months ago by jbd
Modified:
11 years, 6 months ago
Reviewers:
adg
Visibility:
Public.

Description

oauth2: cache write should return an error instead of invoking an error handler

Patch Set 1 #

Patch Set 2 : #

Total comments: 5

Patch Set 3 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+12 lines, -18 lines) Patch
M cache.go View 1 2 3 chunks +4 lines, -9 lines 0 comments Download
M cache_test.go View 1 chunk +5 lines, -7 lines 0 comments Download
M transport.go View 1 1 chunk +1 line, -1 line 0 comments Download
M transport_test.go View 1 1 chunk +2 lines, -1 line 0 comments Download

Messages

Total messages: 3
jbd
11 years, 6 months ago (2014-06-22 22:29:55 UTC) #1
adg
LGTM https://codereview.appspot.com/101410045/diff/20001/cache.go File cache.go (right): https://codereview.appspot.com/101410045/diff/20001/cache.go#newcode16 cache.go:16: Read() (token *Token, err error) Read() (*Token, error) ...
11 years, 6 months ago (2014-06-22 22:32:26 UTC) #2
jbd
11 years, 6 months ago (2014-06-22 22:39:54 UTC) #3
Submitted.

https://codereview.appspot.com/101410045/diff/20001/cache.go
File cache.go (right):

https://codereview.appspot.com/101410045/diff/20001/cache.go#newcode16
cache.go:16: Read() (token *Token, err error)
On 2014/06/22 22:32:26, adg wrote:
> Read() (*Token, error)

Done.

https://codereview.appspot.com/101410045/diff/20001/cache.go#newcode18
cache.go:18: Write(token *Token) (err error)
On 2014/06/22 22:32:26, adg wrote:
> Write(*Token) error

Done.
Sign in to reply to this message.

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