Skip to content

Commit

Permalink
Only give message if AMI is asked to be created.
Browse files Browse the repository at this point in the history
  • Loading branch information
aksm committed Jun 15, 2023
1 parent 992a0b9 commit 5bc02b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Plugin/Action/AmiStrawberryfieldCSVexport.php
Original file line number Diff line number Diff line change
Expand Up @@ -405,7 +405,7 @@ protected function sendToFile($output) {
['@url' => $url->toString()]));
}
}
else if (!$this->context['sandbox']['ado_type_exists']) {
else if ($this->configuration['create_ami_set'] && !$this->context['sandbox']['ado_type_exists']) {
$this->messenger()
->addStatus($this->t('AMI Set could not be created because object(s) are missing the type key.'));
}
Expand Down

0 comments on commit 5bc02b0

Please sign in to comment.