remove unnecessary things
This commit is contained in:
parent
4a4d73b87b
commit
49f8abcd79
1 changed files with 1 additions and 1 deletions
|
|
@ -56,7 +56,7 @@ function removePrivateKeyFromSshAgent(Server $server)
|
|||
}
|
||||
processWithEnv()->run("echo '{$server->privateKey->private_key}' | ssh-add -d -");
|
||||
}
|
||||
function addPrivateKeyToSshAgent(Server $server, bool $onlyRemove = false)
|
||||
function addPrivateKeyToSshAgent(Server $server)
|
||||
{
|
||||
if (data_get($server, 'privateKey.private_key') === null) {
|
||||
throw new \Exception("Server {$server->name} does not have a private key");
|
||||
|
|
|
|||
Loading…
Reference in a new issue