Refactor the license check to be a generic presubmit check (#131)

* Refactor the license check to be a generic presubmit check

This includes all of the old presubmits that were in our METADATA file
that are still valid.

* Responses to CR

Added docstrings, refactored the file finder, changed variable names,
and formatted the file

* More respones to CR
This commit is contained in:
gbrodman 2019-06-27 10:08:27 -04:00 committed by GitHub
parent 4150dc69cb
commit dae8923bd1
4 changed files with 184 additions and 51 deletions

View file

@ -727,7 +727,7 @@ public class BigqueryConnection implements AutoCloseable {
.setProjectId(getProjectId())
.setDatasetId(datasetName)))
.execute();
System.err.printf("Created dataset: %s:%s\n", getProjectId(), datasetName);
logger.atInfo().log("Created dataset: %s:%s\n", getProjectId(), datasetName);
return true;
}
return false;