use unix timestamp ms

This commit is contained in:
Michael Parker
2020-01-09 16:10:56 -06:00
parent 8d61e6f893
commit 6e06cf1074

View File

@@ -94,7 +94,7 @@ func CallEventWebhook(r *flaggerv1.Canary, webhook, message, eventtype string) e
Metadata: map[string]string{
"eventMessage": message,
"eventType": eventtype,
"timestamp": strconv.FormatInt(t.UnixNano(), 10),
"timestamp": strconv.FormatInt(t.UnixNano()/1000000, 10),
},
}