1
0
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:
Johan Van de Wauw
2022-03-09 01:44:08 +01:00
committed by GitHub
parent e178b7b4b2
commit 8fa2a5efe4
9 changed files with 10 additions and 10 deletions
+1 -1
View File
@@ -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
+1 -1
View File
@@ -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)
}
+1 -1
View File
@@ -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)