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; }