Skip to content

Commit

Permalink
doc:
Browse files Browse the repository at this point in the history
Signed-off-by: Nasfame <[email protected]>

Took 5 minutes
  • Loading branch information
Nasfame committed Oct 23, 2023
1 parent 0fe7db2 commit c0dd337
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion pkg/module/utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -109,9 +109,11 @@ func CloneModule(module data.ModuleConfig) (repo *git.Repository, err error) {

// git fetch origin: Resolves #https://github.com/bacalhau-project/lilypad/issues/13
gitFetchOptions := &git.FetchOptions{
Tags: git.AllTags,
Tags: git.AllTags,
Progress: os.Stdout,
}
gitFetchOptions.Validate() // sets default values like remote=origin
log.Info().Str("updating cached git repo", repoDir).Msgf("")
err = repo.FetchContext(context.Background(), gitFetchOptions)

// Check if hash or tag specified exists
Expand Down

0 comments on commit c0dd337

Please sign in to comment.