Skip to content

Commit

Permalink
fix(canary-v2): Fix issue with serialization of duration string. (#2057)
Browse files Browse the repository at this point in the history
  • Loading branch information
Matt Duftler committed Mar 15, 2018
1 parent b6f070f commit 5eaec77
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ class MonitorKayentaCanaryTask(
"canaryPipelineStatus" to SUCCEEDED,
"lastUpdated" to canaryResults.endTimeIso?.toEpochMilli(),
"lastUpdatedIso" to canaryResults.endTimeIso,
"durationString" to canaryResults.result.canaryDuration,
"durationString" to canaryResults.result.canaryDuration.toString(),
"canaryScore" to canaryScore,
"canaryScoreMessage" to "Canary score is not above the marginal score threshold."
))
Expand All @@ -65,7 +65,7 @@ class MonitorKayentaCanaryTask(
"canaryPipelineStatus" to SUCCEEDED,
"lastUpdated" to canaryResults.endTimeIso?.toEpochMilli(),
"lastUpdatedIso" to canaryResults.endTimeIso,
"durationString" to canaryResults.result.canaryDuration,
"durationString" to canaryResults.result.canaryDuration.toString(),
"canaryScore" to canaryScore
))
}
Expand Down

0 comments on commit 5eaec77

Please sign in to comment.