-
Notifications
You must be signed in to change notification settings - Fork 14
Exception: empty collection can't be reduced #81
Comments
But I would like to add that, before this occurred, |
Reasoning about the bug: looks like it happens here, where an empty Would it be meaningful to just return |
Update: as already identified in #72, this error leads to the misbehaviour reported there ( |
@f-f Interesting, thanks for looking into it a bit! The "currently pending authz" issue should've been resolved by the change LE did on their side (i.e. automatically recycling authorisations) which required - according to their announcement - no client-side changes as the service simply returns the existing authorisation. Did you see that one recently, too?
It'd be the empty |
Yep, this morning I deleted and recreated the controller, and started getting #72. |
Actually, I think this condition is being triggered by a configuration mistake of us - basically I'm trying to get a certificate for the wrong DNS (however it shouldn't fail this badly, as in the same certificate request I have some domains for which the DNS is correct). |
Adds a check for empty collections before reducing lists to avoid an exception. This fixes #81
Adds a check for empty collections before reducing lists to avoid an exception. This fixes #81
Agreed! I've put in a PR that will add the relevant check to prevent it from throwing an unnecessary exception here. |
Adds a check for empty collections before reducing lists to avoid an exception. This fixes #81
Awesome, thank you! 👏 |
This happened when I deleted a certificate secret - to add more subdomains to it - and expected that
kubernetes-letsencrypt
would recreate it:The text was updated successfully, but these errors were encountered: