Avoid NPE when trying to delete changes for a project

After I5babf38b0, trying to delete a project fails in some occasions
with a NPE when trying to open a connection to ReviewDb [1].

Using the ReviewDb provider to get an instance fixes the issue.

[1] https://pastebin.com/9qf9Sntn

Change-Id: I33d4cb86742df536f73c22ee67d0a2c6505d69f3
1 file changed
tree: 79845efbe7255c364edaf09a3f36578bd71e4cab
  1. .settings/
  2. src/
  3. tools/
  4. .gitignore
  5. bazlets.bzl
  6. BUILD
  7. external_plugin_deps.bzl
  8. README.md
  9. WORKSPACE
README.md

Delete project plugin for Gerrit Code Review

A plugin which allows projects to be deleted from Gerrit via an SSH command, REST API or the Project settings screen.

[Build Status