Skip to content

Commit

Permalink
fix(cf): return credentials in an array (#9812)
Browse files Browse the repository at this point in the history
Account extractor is supposed to return an array but this stage returns a string, which breaks the execution history parsing in Deck.

Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
  • Loading branch information
mattgogerly and mergify[bot] authored Mar 4, 2022
1 parent b6c5aa2 commit c96faa5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { CloudFoundryRunJobStageConfig } from './CloudFoundryRunJobStageConfig';
import { RunJobExecutionDetails } from './RunJobExecutionDetails';

Registry.pipeline.registerStage({
accountExtractor: (stage: IStage) => stage.context.credentials,
accountExtractor: (stage: IStage) => [stage.context.credentials],
component: CloudFoundryRunJobStageConfig,
configAccountExtractor: (stage: IStage) => [stage.credentials],
cloudProvider: 'cloudfoundry',
Expand Down

0 comments on commit c96faa5

Please sign in to comment.