mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2025-03-11 15:34:56 +00:00
chore: [Vultr SD] fixed typo in vultr sd code comments
This commit is contained in:
parent
3c73dbbacc
commit
09a458f931
1 changed files with 2 additions and 2 deletions
|
@ -44,7 +44,7 @@ type SDConfig struct {
|
|||
|
||||
var configMap = discoveryutils.NewConfigMap()
|
||||
|
||||
// GetLabels returns gce labels according to sdc.
|
||||
// GetLabels returns Vultr instances' labels according to sdc.
|
||||
func (sdc *SDConfig) GetLabels(baseDir string) ([]*promutils.Labels, error) {
|
||||
ac, err := getAPIConfig(sdc, baseDir)
|
||||
if err != nil {
|
||||
|
@ -62,7 +62,7 @@ func (sdc *SDConfig) MustStop() {
|
|||
_ = configMap.Delete(sdc)
|
||||
}
|
||||
|
||||
// getInstanceLabels returns labels for vultr instances obtained from the given cfg
|
||||
// getInstanceLabels returns labels for Vultr instances obtained from the given cfg
|
||||
func getInstanceLabels(instances []Instance, port int) []*promutils.Labels {
|
||||
ms := make([]*promutils.Labels, 0, len(instances))
|
||||
|
||||
|
|
Loading…
Reference in a new issue