mirror of
https://github.com/opentofu/opentofu.git
synced 2024-12-29 10:21:01 -06:00
Fix go vet -unreachable
warnings.
This commit is contained in:
parent
3eb65f2cbb
commit
bac909fdbf
@ -93,7 +93,6 @@ func testAccTestCheckDestroy(test *statuscake.Test) resource.TestCheckFunc {
|
|||||||
|
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
return nil
|
|
||||||
}
|
}
|
||||||
|
|
||||||
const testAccTestConfig_basic = `
|
const testAccTestConfig_basic = `
|
||||||
|
@ -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 {
|
||||||
|
Loading…
Reference in New Issue
Block a user