8000 Fix commands when local vault is disabled · symfony/symfony@0e11f5a · GitHub
[go: up one dir, main page]

Skip to content

Commit 0e11f5a

Browse files
committed
Fix commands when local vault is disabled
1 parent 8db1f98 commit 0e11f5a

File tree

1 file changed

+2
-2
lines changed
  • src/Symfony/Bundle/FrameworkBundle/Resources/config

1 file changed

+2
-2
lines changed

src/Symfony/Bundle/FrameworkBundle/Resources/config/console.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -298,7 +298,7 @@
298298
->set('console.command.secrets_list', SecretsListCommand::class)
299299
->args([
300300
service('secrets.vault'),
301-
service('secrets.local_vault'),
301+
service('secrets.local_vault')->ignoreOnInvalid(),
302302
])
303303
->tag('console.command')
304304

@@ -312,7 +312,7 @@
312312
->set('console.command.secrets_encrypt_from_local', SecretsEncryptFromLocalCommand::class)
313313
->args([
314314
service('secrets.vault'),
315-
service('secrets.local_vault'),
315+
service('secrets.local_vault')->ignoreOnInvalid(),
316316
])
317317
->tag('console.command')
318318
;

0 commit comments

Comments
 (0)
0