From 9546529f80eebbd23d00b489d7f8d120a3182794 Mon Sep 17 00:00:00 2001 From: Abhishek Jain Date: Fri, 24 Mar 2017 17:13:21 -0400 Subject: [PATCH] Corrected a spelling mistake in a print statement --- scheduler.go | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/scheduler.go b/scheduler.go index b21b567..2128309 100644 --- a/scheduler.go +++ b/scheduler.go @@ -43,7 +43,7 @@ func main() { } 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) } @@ -74,12 +74,12 @@ func main() { 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.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 - // Attempt to handle signint to not leave pmdumptext running + // Attempt to handle SIGINT to not leave pmdumptext running // Catch interrupt go func() { 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.Println("Exiting...") -} +} \ No newline at end of file