Skip to content

Commit 9f90174

Browse files
minor symfony#61317 [FrameworkBundle] Fix block type from OK to ERROR when local vault is disabled in SecretsGenerateKeysCommand (santysisi)
This PR was merged into the 6.4 branch. Discussion ---------- [FrameworkBundle] Fix block type from `OK` to `ERROR` when local vault is disabled in `SecretsGenerateKeysCommand` | Q | A | ------------- | --- | Branch? | 6.4 | Bug fix? | yes | New feature? | no | Deprecations? | no | Issues | no | License | MIT Minor: fix block type from `OK` to `ERROR` when local vault is disabled in `SecretsDecryptToLocalCommand` References: * [SecretsDecryptToLocalCommand](https://github.com/symfony/symfony/blob/7.4/src/Symfony/Bundle/FrameworkBundle/Command/SecretsDecryptToLocalCommand.php#L60) * [SecretsEncryptFromLocalCommand](https://github.com/symfony/symfony/blob/7.4/src/Symfony/Bundle/FrameworkBundle/Command/SecretsEncryptFromLocalCommand.php#L54) Commits ------- 96ea591 [FrameworkBundle] Fix block type from `OK` to `ERROR` when local vault is disabled in `SecretsGenerateKeysCommand`
2 parents cfe2fcc + 96ea591 commit 9f90174

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Bundle/FrameworkBundle/Command/SecretsGenerateKeysCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ protected function execute(InputInterface $input, OutputInterface $output): int
6767
$vault = $input->getOption('local') ? $this->localVault : $this->vault;
6868

6969
if (null === $vault) {
70-
$io->success('The local vault is disabled.');
70+
$io->error('The local vault is disabled.');
7171

7272
return 1;
7373
}

0 commit comments

Comments
 (0)