Skip to content

Commit

Permalink
Merge pull request #124 from TIBCOSoftware/retgits-patch-1
Browse files Browse the repository at this point in the history
Fix typos and errormessage
  • Loading branch information
Frank Martinez authored Dec 3, 2018
2 parents 05e5f0f + 9009518 commit c03a907
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/search.go
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ func searchContent(content string, filterByType bool, filterByString bool, searc
// Get the correct key
queryResult := config.Get(tomlKey)
if queryResult == nil {
return nil, fmt.Errorf("Unknown error occured, no items found in FAR")
return nil, fmt.Errorf("Unknown error occurred, no items found in Flogo Showcase")
}

// Prepare a result structure
Expand Down Expand Up @@ -198,5 +198,5 @@ func getFARContent() (string, error) {
return res.Body, nil
}

return "", fmt.Errorf("Unknown error occured with HTTP Status Code %v", res.StatusCode)
return "", fmt.Errorf("Unknown error occurred with HTTP Status Code %v", res.StatusCode)
}

0 comments on commit c03a907

Please sign in to comment.