mirror of
https://github.com/ollama/ollama.git
synced 2025-05-10 18:06:33 +02:00
fix lint
This commit is contained in:
parent
acfc376efd
commit
2bb2bdd5d4
11 changed files with 15 additions and 15 deletions
|
@ -77,7 +77,7 @@ func (p *Progress) Add(key string, state State) {
|
|||
p.states = append(p.states, state)
|
||||
}
|
||||
|
||||
func (p *Progress) render() error {
|
||||
func (p *Progress) render() {
|
||||
p.mu.Lock()
|
||||
defer p.mu.Unlock()
|
||||
|
||||
|
@ -101,8 +101,6 @@ func (p *Progress) render() error {
|
|||
}
|
||||
|
||||
p.pos = len(p.states)
|
||||
|
||||
return nil
|
||||
}
|
||||
|
||||
func (p *Progress) start() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue