Skip to content

Commit

Permalink
Change stopping to duplicate - makes more sense. Added Ltime to logs.
Browse files Browse the repository at this point in the history
  • Loading branch information
darron committed Nov 12, 2015
1 parent e047ed9 commit 596941a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions commands/run.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,9 @@ func startRun(cmd *cobra.Command, args []string) {
if ConsulData == "" || oldEvent < lTime {
Set(c, ConsulKey, lTimeString)
runCommand(Exec)
RunTime(start, "complete", fmt.Sprintf("exec='%s'", Exec))
RunTime(start, "complete", fmt.Sprintf("exec='%s' ltime='%d'", Exec, lTime))
} else {
RunTime(start, "stopping", fmt.Sprintf("exec='%s'", Exec))
RunTime(start, "duplicate", fmt.Sprintf("exec='%s' ltime='%d'", Exec, lTime))
}

} else {
Expand Down

0 comments on commit 596941a

Please sign in to comment.