Merge pull request #4006 from kjothen/patch-1

Update check.go
This commit is contained in:
Matt Keeler 2018-04-06 12:57:52 -04:00 committed by GitHub
commit 3df53b6459
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -412,7 +412,7 @@ func (c *CheckHTTP) check() {
}
// Format the response body
result := fmt.Sprintf("HTTP GET %s: %s Output: %s", c.HTTP, resp.Status, output.String())
result := fmt.Sprintf("HTTP %s %s: %s Output: %s", method, c.HTTP, resp.Status, output.String())
if resp.StatusCode >= 200 && resp.StatusCode <= 299 {
// PASSING (2xx)