Repository navigation
Add golang/x/net/context.Context to storage driver method calls - #410
Merged
Merged
Conversation
Collaborator
There was a problem hiding this comment.
Context should be first argument.
RichardScothern
force-pushed
the
driver-context
branch
from
April 23, 2015 00:26
9f7f090 to
d9eba55
Compare
Author
|
Squashed previous commits. |
RichardScothern
force-pushed
the
driver-context
branch
from
April 23, 2015 16:29
b58a8d6 to
02cec63
Compare
Author
|
This is ready for the big time. |
Collaborator
There was a problem hiding this comment.
app should be the context here.
Collaborator
|
@RichardScothern Other than the list of items, I am pretty happy with this. |
- Change driver interface to take a context as its first argument
- Make newFileReader take a context as its first argument
- Make newFileWriter take a context as its first argument
- Make blobstore exists and delete take a context as a first argument
- Pass the layerreader's context to the storage layer
- Pass the app's context to purgeuploads
- Store the app's context into the blobstore (was previously null)
- Pass the trace'd context to the storage drivers
Signed-off-by: Richard Scothern <[email protected]>
RichardScothern
force-pushed
the
driver-context
branch
from
April 27, 2015 23:03
02cec63 to
ae216e3
Compare
Author
|
Review comments + rebase. |
stevvooe
added a commit
that referenced
this pull request
May 5, 2015
Add golang/x/net/context.Context to storage driver method calls
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Make Storage Driver API calls context aware.
Closes: #264