From c4eae8045b999e6cc6b7b607ea69813f1b48b4f1 Mon Sep 17 00:00:00 2001 From: Philippe Thiers Date: Thu, 23 Nov 2023 16:11:32 -0300 Subject: [PATCH] fix(Logging): wrong key on array_merge on fetch logs entries (#6812) --- Logging/src/LoggingClient.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Logging/src/LoggingClient.php b/Logging/src/LoggingClient.php index d142f6c46e5f..6a2982582f43 100644 --- a/Logging/src/LoggingClient.php +++ b/Logging/src/LoggingClient.php @@ -469,7 +469,7 @@ public function entries(array $options = []) unset($options['projectIds']); } if (isset($options['resourceNames'])) { - $options['resourceNames'] = array_merge($resourceNames, $options['projectIds']); + $options['resourceNames'] = array_merge($resourceNames, $options['resourceNames']); } else { $options['resourceNames'] = $resourceNames; }