Skip to content

Commit

Permalink
chore: fix some linting complains
Browse files Browse the repository at this point in the history
  • Loading branch information
ricardomaraschini committed Oct 4, 2023
1 parent 7b46dd5 commit df06c97
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pkg/addons/applier.go
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ func (a *Applier) load() (map[string]AddOn, error) {
return addons, nil
}

// Version returns a map with the version of each addon that will be applied.
// Versions returns a map with the version of each addon that will be applied.
func (a *Applier) Versions() (map[string]string, error) {
addons, err := a.load()
if err != nil {
Expand Down
2 changes: 1 addition & 1 deletion pkg/metrics/sender.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import (
"github.com/replicatedhq/helmvm/pkg/addons/adminconsole"
)

// Sender is a helper function that sends an event to the metrics endpoint.
// Send is a helper function that sends an event to the metrics endpoint.
// Metrics endpoint can be overwritten by the license.spec.endpoint field
// or by the HELMVM_METRICS_BASEURL environment variable, the latter has
// precedence over the former.
Expand Down
2 changes: 1 addition & 1 deletion pkg/progressbar/progressbar.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (

var blocks = []string{"◐", "◓", "◑", "◒"}

// WriterFn is a function that writes a formatted string.
// WriteFn is a function that writes a formatted string.
type WriteFn func(string, ...any) (int, error)

// MaskFn is a function that masks a message. Receives a string and
Expand Down

0 comments on commit df06c97

Please sign in to comment.