Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Don't propagate "not exist" error if trying to erase a session matchi… (
#252) Summary of Changes Don't consider "oserror.ErrNotExist" as a failure when trying to erase a session which corresponds to a missing file. Hello, in the current implementation, if a request contains a session token that has been stored in a file that has been deleted and we're trying to erase it using the Options.MaxAge = -1 workaround, the action still fails, because the missing file error gets propagated higher in the stack. This small fix prevents this, and ensures that the session is regenerated. ___ This is a reopen of #237 which was closed by the stale bot. Co-authored-by: Corey Daley <cdaley@redhat.com>
- Loading branch information