Skip to content

Commit

Permalink
chore: fix minor typos
Browse files Browse the repository at this point in the history
Signed-off-by: Valery Piashchynski <[email protected]>
  • Loading branch information
rustatian committed Oct 8, 2023
1 parent 548e636 commit ffa08cc
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
2 changes: 2 additions & 0 deletions builder/templates/templateV2023.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ require (
go.uber.org/automaxprocs v1.5.2
github.com/roadrunner-server/informer/v4 latest
github.com/roadrunner-server/resetter/v4 latest
github.com/roadrunner-server/rpc/v4 latest
github.com/roadrunner-server/config/v4 latest
// Go module pseudo-version
{{range $v := .Entries}}{{$v.Module}} {{$v.PseudoVersion}}
Expand Down
8 changes: 6 additions & 2 deletions github/pool.go
Original file line number Diff line number Diff line change
Expand Up @@ -202,13 +202,17 @@ func (p *processor) add(pjob *pcfg) {
func (p *processor) errors() []error {
p.mu.Lock()
defer p.mu.Unlock()
return p.errs
errs := make([]error, len(p.errs))
copy(errs, p.errs)
return errs
}

func (p *processor) moduleinfo() []*velox.ModulesInfo {
p.mu.Lock()
defer p.mu.Unlock()
return p.modinfo
modinfo := make([]*velox.ModulesInfo, len(p.modinfo))
copy(modinfo, p.modinfo)
return modinfo
}

func (p *processor) wait() {
Expand Down

0 comments on commit ffa08cc

Please sign in to comment.