Skip to content

Commit

Permalink
Update build.go
Browse files Browse the repository at this point in the history
Added comment about arguments for constructDependencies
  • Loading branch information
kkellerlbl authored Dec 18, 2020
1 parent 854214e commit b56d832
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions service/build.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,8 @@ type Dependencies struct {
}

// ConstructDependencies builds the blobstore dependencies from a configuration.
// cfg is a configuration structure populated from the config file
// HTTPTimeout is a timeout for the various clients connecting to the S3 backend (s3, minio, http)
func constructDependencies(cfg *config.Config, HTTPTimeout time.Duration) (*Dependencies, error) {
d := Dependencies{}
auth, err := buildAuth(cfg)
Expand Down

0 comments on commit b56d832

Please sign in to comment.