Commit b95c498b authored by Bryan Boreham's avatar Bryan Boreham Committed by GitHub
Browse files

Merge pull request #2872 from weaveworks/small-mem-reductions

Small memory-allocation reduction
Showing with 3 additions and 0 deletions
+3 -0
......@@ -238,6 +238,9 @@ func renderTime(t time.Time) string {
}
func parseTime(s string) time.Time {
if s == "" {
return time.Time{}
}
t, _ := time.Parse(time.RFC3339Nano, s)
return t
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment