with real org
This commit is contained in:
parent
2c37384af5
commit
2c9a70e13c
@ -139,7 +139,7 @@ select:
|
||||
- git@git.front.kjuulh.io:kjuulh/kraken-test.git
|
||||
providers:
|
||||
- gitea: https://git.front.kjuulh.io
|
||||
organisation: "kraken"
|
||||
organisation: "cibus"
|
||||
actions:
|
||||
- type: go
|
||||
entry: "main.go"
|
||||
|
@ -18,6 +18,8 @@ type Gitea struct {
|
||||
func NewGitea(logger *zap.Logger) *Gitea {
|
||||
return &Gitea{
|
||||
logger: logger,
|
||||
giteamu: sync.Mutex{},
|
||||
giteaClients: make(map[string]*gitea.Client, 0),
|
||||
}
|
||||
}
|
||||
|
||||
@ -35,7 +37,7 @@ func (g *Gitea) ListRepositoriesForOrganization(ctx context.Context, server stri
|
||||
},
|
||||
})
|
||||
if err != nil {
|
||||
return nil, err
|
||||
return nil, fmt.Errorf("could not list repos: %w", err)
|
||||
}
|
||||
|
||||
if resp.StatusCode >= 300 {
|
||||
|
Loading…
Reference in New Issue
Block a user