Skip to content

Commit

Permalink
DOP-4490-b undoing last change
Browse files Browse the repository at this point in the history
  • Loading branch information
anabellabuckvar committed Apr 2, 2024
1 parent 189f6ef commit 62c9460
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/services/slack.ts
Original file line number Diff line number Diff line change
Expand Up @@ -69,14 +69,13 @@ export class SlackConnector implements ISlackConnector {
// if so return an object
if (isAdmin && stateValues['block_deploy_option']['deploy_option']?.selected_option?.value == 'deploy_all') {
//add a check to make sure a null return won't break anything
// values['deploy_option'] = 'deploy_all';
values['repo_option'] = await repoBranchesRepository.getProdDeployableRepoBranches(); //aggregation in repoBranches
this._logger.info('all prod deployable repos SendMessage', values['repo_option']);

return values;
}

// get key and values to figure out what the user wants to deploy
// get key and values to figure out what user wants to deploy
//get "repo_option" in stateValues[0], get hash_option in stateValues[1]""
this._logger.info('all prod deployable repos SendMessage', values['repo_option']);

Expand Down Expand Up @@ -150,15 +149,15 @@ export class SlackConnector implements ISlackConnector {
value: 'deploy_individually',
text: {
type: 'plain_text',
text: 'Deploy individually selected repos',
text: 'Deploy individual repos',
},
},
options: [
{
value: 'deploy_individually',
text: {
type: 'plain_text',
text: 'Deploy ALL prod-deployable individual repos',
text: 'Deploy individual repos',
},
},
{
Expand Down

0 comments on commit 62c9460

Please sign in to comment.