fix: pass in the git kind go the keeper git client
so we can work with Bitbucket Server
@@ -35,7 +35,7 @@ func NewKeeperController(configAgent *config.Agent, botName string, gitKind stri
}
util.AddAuthToSCMClient(scmClient, gitToken, false)
gitproviderClient := scmprovider.ToClient(scmClient, botName)
- gitClient, err := git.NewClient(serverURL, botName)
+ gitClient, err := git.NewClient(serverURL, gitKind)
if err != nil {
return nil, errors.Wrap(err, "creating git client")
}
