Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bug: Fix nil deref while handling changed files #157

Merged
merged 2 commits into from
Jun 17, 2021
Merged

bug: Fix nil deref while handling changed files #157

merged 2 commits into from
Jun 17, 2021

Commits on Jun 17, 2021

  1. bug: Fix nil deref while handling changed files

    The directory watcher was not sending the contents of the changed policy
    to the disk index when it detected a file system event. Because the
    index was trying to access the non-existent policy data it was crashing
    with a nil pointer deref.
    
    This change includes the following:
    - A fix for the bug described above
    - Extra tests to exercise the directory watcher
    - Re-introduce Mockery to generate mocks
    charithe committed Jun 17, 2021
    Configuration menu
    Copy the full SHA
    96a1aca View commit details
    Browse the repository at this point in the history
  2. Fix lint errors

    charithe committed Jun 17, 2021
    Configuration menu
    Copy the full SHA
    b6e9d54 View commit details
    Browse the repository at this point in the history