Skip to content

fix: verify TokenSource exists in TokenExpiration()#642

Merged
enocom merged 4 commits intomainfrom
fix-token
Feb 26, 2021
Merged

fix: verify TokenSource exists in TokenExpiration()#642
enocom merged 4 commits intomainfrom
fix-token

Conversation

@kurtisvg
Copy link
Contributor

Change Description

Updates TokenExpiration() to return a zero value if TokenSource is unset.

Checklist

  • Make sure to open an issue as a
    bug/issue
    before writing your code! That way we can discuss the change, evaluate
    designs, and agree on the general idea.
  • Ensure the tests and linter pass
  • Appropriate documentation is updated (if necessary)

Relevant issues:

@timcooijmans
Copy link

Fixes my issue! Thanks

@kurtisvg kurtisvg added the automerge Merge the pull request once unit tests and other checks pass. label Feb 26, 2021
@enocom enocom merged commit d01d7eb into main Feb 26, 2021
@enocom enocom deleted the fix-token branch February 26, 2021 22:30
@gcf-merge-on-green gcf-merge-on-green bot removed the automerge Merge the pull request once unit tests and other checks pass. label Feb 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Nil pointer dereference in TokenExpiration

3 participants