1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2025-03-31 03:45:17 +00:00

added comment

Signed-off-by: NoSkillGirl <singhpooja240393@gmail.com>
This commit is contained in:
NoSkillGirl 2021-06-29 11:52:24 +05:30
parent 6361aeae21
commit a8ab5e74ed

View file

@ -29,6 +29,7 @@ func CallMetrics() (string, error) {
return newStr, nil
}
// ProcessMetrics checks the metrics log and identify if the policy is added in cache or not
func ProcessMetrics(newStr, e2ePolicyName string, e2eTime time.Time) (bool, error) {
var action, policyName string
var timeInTimeFormat time.Time