You've already forked woodpecker
mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2026-06-03 16:35:37 +02:00
Fix various typos (#835)
This commit is contained in:
committed by
GitHub
parent
e178b7b4b2
commit
8fa2a5efe4
@@ -12,7 +12,7 @@ type builtin struct {
|
||||
globals []*model.Environ
|
||||
}
|
||||
|
||||
// Parse returns a EnvironService based on a string slice where key and value are separated by a ":" delimeter.
|
||||
// Parse returns a EnvironService based on a string slice where key and value are separated by a ":" delimiter.
|
||||
func Parse(params []string) model.EnvironService {
|
||||
var globals []*model.Environ
|
||||
|
||||
|
||||
@@ -60,7 +60,7 @@ func (cf *configFetcher) Fetch(ctx context.Context) (files []*remote.FileMeta, e
|
||||
log.Trace().Msgf("ConfigFetch[%s]: getting config from external http service", cf.repo.FullName)
|
||||
newConfigs, useOld, err := cf.configService.FetchExternalConfig(fetchCtx, cf.repo, cf.build, files)
|
||||
if err != nil {
|
||||
log.Error().Msg("Got errror " + err.Error())
|
||||
log.Error().Msg("Got error " + err.Error())
|
||||
return nil, fmt.Errorf("On Fetching config via http : %s", err)
|
||||
}
|
||||
|
||||
|
||||
@@ -101,7 +101,7 @@ func (s storage) DeleteRepo(repo *model.Repo) error {
|
||||
return sess.Commit()
|
||||
}
|
||||
|
||||
// RepoList list all repos where permissions fo specific user are stored
|
||||
// RepoList list all repos where permissions for specific user are stored
|
||||
// TODO: paginate
|
||||
func (s storage) RepoList(user *model.User, owned bool) ([]*model.Repo, error) {
|
||||
repos := make([]*model.Repo, 0, perPage)
|
||||
|
||||
Reference in New Issue
Block a user