mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-12-30 07:40:06 +01:00
fc98b62760
The ParseTime() function looks strange, since it converts relative duration to absolute time since Unix Epoch.
In most scenarios such a conversion is used by mistake.
It is better to do not expose such a function for public use and hide it inside the package where it is needed,
e.g. inside app/vmalert-tool/unittest.
This is a follow-up for
|
||
---|---|---|
.. | ||
testdata | ||
alerting.go | ||
input_test.go | ||
input.go | ||
recording.go | ||
type.go | ||
unittest_test.go | ||
unittest.go |