Skip to content

Commit c767979

Browse files
committed
[internal-api-client] OrchestrationJobMatcher - token is SensitiveParameter
1 parent 4151cd3 commit c767979

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/Orchestration/OrchestrationJobMatcher.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
use Keboola\StorageApi\Components;
1313
use Keboola\StorageApiBranch\Factory\ClientOptions;
1414
use Keboola\StorageApiBranch\Factory\StorageClientPlainFactory;
15+
use SensitiveParameter;
1516

1617
// https://keboola.atlassian.net/wiki/spaces/ENGG/pages/3074195457/DRAFT+RFC-2023-011+-+Rerun+orchestration#Pair-Jobs-and-Tasks
1718
class OrchestrationJobMatcher
@@ -24,7 +25,7 @@ public function __construct(
2425

2526
public function matchTaskJobsForOrchestrationJob(
2627
string $jobId,
27-
string $token,
28+
#[SensitiveParameter] string $token,
2829
): OrchestrationJobMatcherResults {
2930
$job = $this->internalClient->getJob($jobId);
3031
$childJobs = $this->getOrchestrationTaskJobs($job);

0 commit comments

Comments
 (0)