Skip to content

Commit

Permalink
convert epoch to milliseconds
Browse files Browse the repository at this point in the history
  • Loading branch information
Danny Kulchinsky authored and sstarcher committed Apr 15, 2019

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
1 parent aadddfd commit b383efa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
@@ -104,7 +104,7 @@ func helmStats(w http.ResponseWriter, r *http.Request) {
releaseName := item.GetName()
version := item.GetChart().GetMetadata().GetVersion()
appVersion := item.GetChart().GetMetadata().GetAppVersion()
updated := strconv.FormatInt(item.GetInfo().GetLastDeployed().Seconds, 10)
updated := strconv.FormatInt((item.GetInfo().GetLastDeployed().Seconds * 1000), 10)
namespace := item.GetNamespace()
if status == release.Status_FAILED {
status = -1

0 comments on commit b383efa

Please sign in to comment.