Skip to content

Commit

Permalink
Fixing build issues caused by dependency update. (#1055)
Browse files Browse the repository at this point in the history
* Auto-update dependencies.

* Fix build errors caused by dependency updates.
  • Loading branch information
dzlier-gcp authored and minherz committed Nov 10, 2022
1 parent f300cb5 commit fc1903b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ public static void main(String[] args) throws Exception {

// Google Cloud Platform Project ID
String projectId = (args.length > 0) ? args[0] : ServiceOptions.getDefaultProjectId();
ProjectName projectName = ProjectName.create(projectId);
ProjectName projectName = ProjectName.of(projectId);

// Instantiate an Error Reporting Client
try (ReportErrorsServiceClient reportErrorsServiceClient = ReportErrorsServiceClient.create()) {
Expand Down

0 comments on commit fc1903b

Please sign in to comment.