forked from TrueCloudLab/lego
Merge pull request #75 from ernestoalejo/patch-1
Add explicit fallthrough
This commit is contained in:
commit
c590b724c7
1 changed files with 1 additions and 3 deletions
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue