Fix go vet -unreachable warnings.

This commit is contained in:
Trevor Pounds 2016-02-12 21:38:15 -08:00 committed by James Nugent
parent 3eb65f2cbb
commit bac909fdbf
2 changed files with 0 additions and 3 deletions

View File

@ -93,7 +93,6 @@ func testAccTestCheckDestroy(test *statuscake.Test) resource.TestCheckFunc {
return nil return nil
} }
return nil
} }
const testAccTestConfig_basic = ` const testAccTestConfig_basic = `

View File

@ -217,8 +217,6 @@ func (c *AtlasClient) Delete() error {
"HTTP error: %d\n\nBody: %s", "HTTP error: %d\n\nBody: %s",
resp.StatusCode, c.readBody(resp.Body)) resp.StatusCode, c.readBody(resp.Body))
} }
return fmt.Errorf("Unexpected HTTP response code %d", resp.StatusCode)
} }
func (c *AtlasClient) readBody(b io.Reader) string { func (c *AtlasClient) readBody(b io.Reader) string {