mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2025-01-11 10:05:27 +00:00
Fix typos
This commit is contained in:
parent
f8aeb571f4
commit
f6d46df1bd
1 changed files with 5 additions and 5 deletions
|
@ -31,15 +31,15 @@ func (c combined) RegistryFind(repo *model.Repo, name string) (*model.Registry,
|
||||||
}
|
}
|
||||||
|
|
||||||
func (c combined) RegistryList(repo *model.Repo) ([]*model.Registry, error) {
|
func (c combined) RegistryList(repo *model.Repo) ([]*model.Registry, error) {
|
||||||
var registeries []*model.Registry
|
var registries []*model.Registry
|
||||||
for _, registory := range c.registries {
|
for _, registry := range c.registries {
|
||||||
list, err := registory.RegistryList(repo)
|
list, err := registry.RegistryList(repo)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
registeries = append(registeries, list...)
|
registries = append(registries, list...)
|
||||||
}
|
}
|
||||||
return registeries, nil
|
return registries, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
func (c combined) RegistryCreate(repo *model.Repo, registry *model.Registry) error {
|
func (c combined) RegistryCreate(repo *model.Repo, registry *model.Registry) error {
|
||||||
|
|
Loading…
Reference in a new issue