Merge pull request #75 from ernestoalejo/patch-1

Add explicit fallthrough
This commit is contained in:
xenolf 2016-01-14 00:36:54 +01:00
commit c590b724c7

View file

@ -468,10 +468,8 @@ func (c *Client) requestCertificate(authz []authorizationResource, bundle bool,
PrivateKey: privateKeyPem}
for {
switch resp.StatusCode {
case 202:
case 201:
case 201, 202:
cert, err := ioutil.ReadAll(limitReader(resp.Body, 1024*1024))
resp.Body.Close()
if err != nil {