Skip to content

Commit

Permalink
populate Epoch for orphaned nodes
Browse files Browse the repository at this point in the history
- this will allow sorting of nodes by Seen column in the Orphaned view
  • Loading branch information
corporate-gadfly committed May 4, 2021
1 parent da9bd0f commit eedd2e5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions db.go
Original file line number Diff line number Diff line change
Expand Up @@ -475,6 +475,7 @@ func getIndexNodes(environment string) ([]PuppetRuns, error) {
// string so we first convert to an integer, then
// parse as a Unix-timestamp
//
tmp.Epoch = at
tmp.Ago = timeRelative(at)

//
Expand Down

0 comments on commit eedd2e5

Please sign in to comment.