Skip to content

Commit

Permalink
Feat/apisaas 1496 (#81)
Browse files Browse the repository at this point in the history
fix(APISAAS-1496): remove deprecated flag
  • Loading branch information
ivanmunozruiz authored Dec 18, 2024
1 parent d992750 commit 3d4d293
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
6 changes: 2 additions & 4 deletions src/Trace/Builder/Builder.php
Original file line number Diff line number Diff line change
Expand Up @@ -239,10 +239,8 @@ public function withDefaultResource(bool $enableAutoDiscover = false): self
])
);
if ($enableAutoDiscover) {
$resourceInfo = ResourceInfoFactory::merge(
$resourceInfo,
ResourceInfoFactory::defaultResource(),
);
$currentResource = ResourceInfoFactory::defaultResource();
$resourceInfo = $currentResource->merge($resourceInfo);
}

return $this->withResourceInfo(
Expand Down
1 change: 0 additions & 1 deletion src/Trace/Integration/Curl.php
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,6 @@ public function getCurlOptName(int $option): string
return match ($option) {
CURLOPT_ADDRESS_SCOPE => 'CURLOPT_ADDRESS_SCOPE',
CURLOPT_AUTOREFERER => 'CURLOPT_AUTOREFERER',
CURLOPT_BINARYTRANSFER => 'CURLOPT_BINARYTRANSFER',
CURLOPT_BUFFERSIZE => 'CURLOPT_BUFFERSIZE',
CURLOPT_CERTINFO => 'CURLOPT_CERTINFO',
CURLOPT_CONNECTTIMEOUT => 'CURLOPT_CONNECTTIMEOUT',
Expand Down

0 comments on commit 3d4d293

Please sign in to comment.