Skip to content

Commit 49bf5b4

Browse files
bpcreechBen Creechgcf-owl-bot[bot]
authored
fix: Update the stub to avoid the deprecated *Map method (#1002)
* fix: Update the stub to avoid the deprecated *Map method * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md Co-authored-by: Ben Creech <bpcreech@google.com> Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
1 parent 342157f commit 49bf5b4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

google-cloud-logging/src/main/java/com/google/cloud/logging/v2/stub/LoggingServiceV2StubSettings.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -331,7 +331,7 @@ public ApiFuture<ListLogsPagedResponse> getFuturePagedResponse(
331331
@Override
332332
public PartitionKey getBatchPartitionKey(WriteLogEntriesRequest request) {
333333
return new PartitionKey(
334-
request.getLogName(), request.getResource(), request.getLabels());
334+
request.getLogName(), request.getResource(), request.getLabelsMap());
335335
}
336336

337337
@Override

0 commit comments

Comments
 (0)