Skip to content

Commit

Permalink
fix: Validate ssh config properly, even when not using a SshShellProv…
Browse files Browse the repository at this point in the history
…ider
  • Loading branch information
stmh committed Jul 18, 2023
1 parent dfe047c commit 2995bf5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/Method/SshMethod.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,9 @@ public function getDefaultConfig(ConfigurationService $configuration_service, No

public function validateConfig(Node $config, ValidationErrorBagInterface $errors)
{
// Implementation found in SShSellProvider.
// Reuse implementation found in SShSellProvider.
$provider = new SshShellProvider($this->logger);
$provider->validateConfig($config, $errors);
}

public function isRunningAppRequired(HostConfig $host_config, TaskContextInterface $context, string $task): bool
Expand Down

0 comments on commit 2995bf5

Please sign in to comment.