diff --git a/client/helpers/backgroundHelper.go b/client/helpers/backgroundHelper.go index 9e87b6a..b7b5f92 100644 --- a/client/helpers/backgroundHelper.go +++ b/client/helpers/backgroundHelper.go @@ -192,7 +192,7 @@ func ConsumeInboxFile(messageFilename string) ([]string, []string, string, error } // LongPollAllSerevrJobs checks for messages on a all servers defived in job file -func LongPollAllSerevrJobs(storage_path string, jobs []client.RequestsJob, timeout int, longPoll bool) (int, string, error) { +func LongPollAllServerJobs(storage_path string, jobs []client.RequestsJob, timeout int, longPoll bool) (int, string, error) { // Channel to collect results resultChan := make(chan int, len(jobs))