Skip to content

Commit

Permalink
notify when cpa ends
Browse files Browse the repository at this point in the history
Signed-off-by: Kedar Vijay Kulkarni <[email protected]>
  • Loading branch information
Kedar Vijay Kulkarni committed Nov 15, 2021
1 parent 38eb057 commit 9d12d3a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Binary file modified bin/cpa
Binary file not shown.
2 changes: 2 additions & 0 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
package main

import (
"fmt"
"io"
"log"
"os"
Expand Down Expand Up @@ -126,4 +127,5 @@ func main() {
log.Println(err)
}
time.Sleep(d)
slackConfig.SlackNotify(fmt.Sprintf("Continuous Perf Analysis has ended all iterations. Total time spent: %s", d.String()), thread_ts)
}

0 comments on commit 9d12d3a

Please sign in to comment.