mirror of
https://github.com/TECHNOFAB11/powerproto.git
synced 2025-12-12 16:10:03 +01:00
feat: refactor pluginmanager to fetch via Git for better support
This commit is contained in:
parent
61809b4a10
commit
f394814c2e
4 changed files with 38 additions and 63 deletions
|
|
@ -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
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue