Skip to content

Commit

Permalink
Change method name
Browse files Browse the repository at this point in the history
  • Loading branch information
riesjart authored May 20, 2021
1 parent e5207b5 commit 80d156f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Jobs/CreateTunnel.php
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ protected function verifyTunnel()
* Use pkill to kill the SSH tunnel
*/

public function destroy(){
public function destroyTunnel(){
$ssh_command = preg_replace('/[\s]{2}[\s]*/',' ',$this->sshCommand);
return $this->runCommand('pkill -f "'.$ssh_command.'"');
}
Expand Down

0 comments on commit 80d156f

Please sign in to comment.