From b56d8326e66aea8c04894afc6c77677813cc2b64 Mon Sep 17 00:00:00 2001 From: kkellerlbl Date: Fri, 18 Dec 2020 15:34:09 -0800 Subject: [PATCH] Update build.go Added comment about arguments for constructDependencies --- service/build.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/service/build.go b/service/build.go index 4296afd..77bcec8 100644 --- a/service/build.go +++ b/service/build.go @@ -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)