diff --git a/pkg/addons/applier.go b/pkg/addons/applier.go index ec629a0ea..4d72360c7 100644 --- a/pkg/addons/applier.go +++ b/pkg/addons/applier.go @@ -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 { diff --git a/pkg/metrics/sender.go b/pkg/metrics/sender.go index d78ef9d56..18433953a 100644 --- a/pkg/metrics/sender.go +++ b/pkg/metrics/sender.go @@ -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. diff --git a/pkg/progressbar/progressbar.go b/pkg/progressbar/progressbar.go index 0d86305cf..5913eb1ae 100644 --- a/pkg/progressbar/progressbar.go +++ b/pkg/progressbar/progressbar.go @@ -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