Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
小 白蛋
Scope
Commits
b95c498b
Commit
b95c498b
authored
7 years ago
by
Bryan Boreham
Committed by
GitHub
7 years ago
Browse files
Options
Download
Plain Diff
Merge pull request #2872 from weaveworks/small-mem-reductions
Small memory-allocation reduction
parents
46c5fca7
9322b54b
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
report/metrics.go
+3
-0
report/metrics.go
with
3 additions
and
0 deletions
+3
-0
report/metrics.go
+
3
-
0
View file @
b95c498b
...
...
@@ -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
}
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment