Skip to content

Commit

Permalink
Go mod tidy/format
Browse files Browse the repository at this point in the history
  • Loading branch information
guisea committed Mar 17, 2024
1 parent 8032cd6 commit 32a7068
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions providers/vultr/provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import (
"encoding/base64"
"errors"
"fmt"
"os"
"strings"
"text/template"
"time"
Expand Down Expand Up @@ -103,9 +102,9 @@ func (p *Provider) DeployAgent(ctx context.Context, agent *woodpecker.Agent) err
break
}
}
if image == -1 {
return fmt.Errorf("%s: DeployAgent: no image found for %s", p.name, p.image)
}
if image == -1 {
return fmt.Errorf("%s: DeployAgent: no image found for %s", p.name, p.image)
}
tags := make([]string, 0)
for key, item := range p.labels {
tags = append(tags, fmt.Sprintf("%s=%s", key, item))
Expand Down

0 comments on commit 32a7068

Please sign in to comment.