mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-12-23 08:56:29 +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) {
|
||||
var registeries []*model.Registry
|
||||
for _, registory := range c.registries {
|
||||
list, err := registory.RegistryList(repo)
|
||||
var registries []*model.Registry
|
||||
for _, registry := range c.registries {
|
||||
list, err := registry.RegistryList(repo)
|
||||
if err != nil {
|
||||
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 {
|
||||
|
|
Loading…
Reference in a new issue