"manager.find" implementation - how much is needed? #2
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
I'm trying to write a manager which is backed by Amazon DynamoDB, and use that manager with greenlock-express.
I've got the basics working, but from trying to read through the greenlock base code, it seems that it only ever calls
.find({})
on the manager type. I.e. it never tries to filter by subject.So I implemented a simple
find
function that will return everything.However the manager tests are failing because it expects
find({ subject: siteAltname })
andfind({ servernames: [siteAltname], altnames: [siteAltname] })
to be implemented.
Are they truly required? Under what circumstances will they be used?
I also noticed that the test outputs:
I.e. it implies that
renewBefore
was tested, but in factrenewBefore
is never set in the test.It's pretty confusing what actually needs to be implemented in this function.