Corrected a spelling mistake in a print statement
This commit is contained in:
parent
1915e589cd
commit
9546529f80
1 changed files with 5 additions and 5 deletions
10
scheduler.go
10
scheduler.go
|
@ -43,7 +43,7 @@ func main() {
|
||||||
}
|
}
|
||||||
|
|
||||||
if *hiThreshold < *loThreshold {
|
if *hiThreshold < *loThreshold {
|
||||||
fmt.Println("High threshold is of a lower value than low threhold.")
|
fmt.Println("High threshold is of a lower value than low threshold.")
|
||||||
os.Exit(1)
|
os.Exit(1)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -74,12 +74,12 @@ func main() {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
//go pcp.Start(scheduler.PCPLog, &scheduler.RecordPCP, logPrefix)
|
go pcp.Start(scheduler.PCPLog, &scheduler.RecordPCP, logPrefix)
|
||||||
//go pcp.StartPCPLogAndExtremaDynamicCap(scheduler.PCPLog, &scheduler.RecordPCP, logPrefix, *hiThreshold, *loThreshold)
|
//go pcp.StartPCPLogAndExtremaDynamicCap(scheduler.PCPLog, &scheduler.RecordPCP, logPrefix, *hiThreshold, *loThreshold)
|
||||||
go pcp.StartPCPLogAndProgressiveExtremaCap(scheduler.PCPLog, &scheduler.RecordPCP, logPrefix, *hiThreshold, *loThreshold)
|
//go pcp.StartPCPLogAndProgressiveExtremaCap(scheduler.PCPLog, &scheduler.RecordPCP, logPrefix, *hiThreshold, *loThreshold)
|
||||||
time.Sleep(1 * time.Second) // Take a second between starting PCP log and continuing
|
time.Sleep(1 * time.Second) // Take a second between starting PCP log and continuing
|
||||||
|
|
||||||
// Attempt to handle signint to not leave pmdumptext running
|
// Attempt to handle SIGINT to not leave pmdumptext running
|
||||||
// Catch interrupt
|
// Catch interrupt
|
||||||
go func() {
|
go func() {
|
||||||
c := make(chan os.Signal, 1)
|
c := make(chan os.Signal, 1)
|
||||||
|
@ -120,4 +120,4 @@ func main() {
|
||||||
log.Printf("Framework stopped with status %s and error: %s\n", status.String(), err.Error())
|
log.Printf("Framework stopped with status %s and error: %s\n", status.String(), err.Error())
|
||||||
}
|
}
|
||||||
log.Println("Exiting...")
|
log.Println("Exiting...")
|
||||||
}
|
}
|
Reference in a new issue