mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2025-03-11 15:34:56 +00:00
chore: fix function name in comment (#7926)
### Describe Your Changes fix function name in comment ### Checklist The following checks are **mandatory**: - [ ] My change adheres [VictoriaMetrics contributing guidelines](https://docs.victoriametrics.com/contributing/). Signed-off-by: cuiweiyuan <cuiweiyuan@aliyun.com>
This commit is contained in:
parent
77b0fcfdd9
commit
d064e14933
3 changed files with 3 additions and 3 deletions
|
@ -50,7 +50,7 @@ func TestClusterKeyConceptsQueryData(t *testing.T) {
|
||||||
testKeyConceptsQueryData(t, sut)
|
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) {
|
func testKeyConceptsQueryData(t *testing.T, sut at.PrometheusWriteQuerier) {
|
||||||
|
|
||||||
// Insert example data from documentation.
|
// Insert example data from documentation.
|
||||||
|
|
|
@ -88,7 +88,7 @@ func getDedicatedServerLabels(cfg *apiConfig) ([]*promutils.Labels, error) {
|
||||||
return ms, nil
|
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
|
// Also see: https://eu.api.ovh.com/console/#/dedicated/server/%7BserviceName%7D~GET
|
||||||
func getDedicatedServerDetails(cfg *apiConfig, dedicatedServerName string) (*dedicatedServer, error) {
|
func getDedicatedServerDetails(cfg *apiConfig, dedicatedServerName string) (*dedicatedServer, error) {
|
||||||
// get properties.
|
// get properties.
|
||||||
|
|
|
@ -146,7 +146,7 @@ func ParseTimeAt(s string, currentTimestamp int64) (int64, error) {
|
||||||
return t.UnixNano(), nil
|
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.
|
// It returns nanoseconds for the parsed timestamp.
|
||||||
func parseNumericTimestamp(s string) (int64, error) {
|
func parseNumericTimestamp(s string) (int64, error) {
|
||||||
|
|
Loading…
Reference in a new issue