diff --git a/apptest/tests/key_concepts_test.go b/apptest/tests/key_concepts_test.go index 24f519e25..8233c883a 100644 --- a/apptest/tests/key_concepts_test.go +++ b/apptest/tests/key_concepts_test.go @@ -50,7 +50,7 @@ func TestClusterKeyConceptsQueryData(t *testing.T) { testKeyConceptsQueryData(t, sut) } -// testClusterKeyConceptsQuery verifies cases from https://docs.victoriametrics.com/keyconcepts/#query-data +// testKeyConceptsQueryData verifies cases from https://docs.victoriametrics.com/keyconcepts/#query-data func testKeyConceptsQueryData(t *testing.T, sut at.PrometheusWriteQuerier) { // Insert example data from documentation. diff --git a/lib/promscrape/discovery/ovhcloud/dedicated_server.go b/lib/promscrape/discovery/ovhcloud/dedicated_server.go index 7ed860418..c4f01f741 100644 --- a/lib/promscrape/discovery/ovhcloud/dedicated_server.go +++ b/lib/promscrape/discovery/ovhcloud/dedicated_server.go @@ -88,7 +88,7 @@ func getDedicatedServerLabels(cfg *apiConfig) ([]*promutils.Labels, error) { return ms, nil } -// getVPSDetails get properties of a dedicated server. +// getDedicatedServerDetails get properties of a dedicated server. // Also see: https://eu.api.ovh.com/console/#/dedicated/server/%7BserviceName%7D~GET func getDedicatedServerDetails(cfg *apiConfig, dedicatedServerName string) (*dedicatedServer, error) { // get properties. diff --git a/lib/promutils/time.go b/lib/promutils/time.go index a201dd19f..bdef5545c 100644 --- a/lib/promutils/time.go +++ b/lib/promutils/time.go @@ -146,7 +146,7 @@ func ParseTimeAt(s string, currentTimestamp int64) (int64, error) { return t.UnixNano(), nil } -// parseNumericTimestamps parses timestamp at s in seconds, milliseconds, microseconds or nanoseconds. +// parseNumericTimestamp parses timestamp at s in seconds, milliseconds, microseconds or nanoseconds. // // It returns nanoseconds for the parsed timestamp. func parseNumericTimestamp(s string) (int64, error) {