Skip to content

Commit

Permalink
client: specify default behavior upon nil Roundtripper
Browse files Browse the repository at this point in the history
Signed-off-by: Luca Bruno <[email protected]>
  • Loading branch information
lucab committed Jul 6, 2017
1 parent b3ce04b commit be88cdf
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions client/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,8 @@ type NotaryRepository struct {
// a file cache from the provided repository, local config information and a crypto service.
// It also retrieves the remote store associated to the base directory under where all the
// trust files will be stored and the specified GUN.
//
// In case of a nil RoundTripper, a default offline store is used instead.
func NewFileCachedNotaryRepository(baseDir string, gun data.GUN, baseURL string, rt http.RoundTripper,
retriever notary.PassRetriever, trustPinning trustpinning.TrustPinConfig) (
*NotaryRepository, error) {
Expand Down

0 comments on commit be88cdf

Please sign in to comment.