mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-11-21 14:44:00 +00: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.go | ||
input_test.go | ||
recording.go | ||
type.go | ||
unittest.go | ||
unittest_test.go |