feat: refactor pluginmanager to fetch via Git for better support

This commit is contained in:
Technofab 2022-11-20 17:17:08 +01:00
parent 61809b4a10
commit f394814c2e
No known key found for this signature in database
GPG key ID: A0AA746B951C8830
4 changed files with 38 additions and 63 deletions

View file

@ -165,7 +165,7 @@ func (b *BasicPluginManager) InstallGitRepo(ctx context.Context, uri string, com
if exists {
return local, nil
}
release, err := GetGithubArchive(ctx, uri, commitId)
release, err := GetGitRepository(ctx, uri, commitId, b.Logger)
if err != nil {
return "", err
}