Skip to content

Commit

Permalink
Merge pull request #59 from TiTidom-RC/dev
Browse files Browse the repository at this point in the history
update TODO in the code
  • Loading branch information
TiTidom-RC authored Nov 6, 2024
2 parents 489c0a2 + 28d7677 commit 486bbe8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions core/class/sshmanager.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,6 @@ public static function checkSSHConnection($hostId) {
}

// TODO Add a timeout option to executeCmds
// TODO Check on timeout if the connection is closed or not, and if not, reset the connection

/**
* execute ssh cmd on the remote host provided by hostId
Expand Down Expand Up @@ -594,7 +593,7 @@ private function internalExecuteCmd(string $command, $cmdName = '') {
return $result;
}

// TODO ATTENTION, une variable qui renvoit 0 est considérée comme vide... A corriger
// TODO ATTENTION, une variable qui renvoit 0 est considérée comme vide.

if (!empty($result)) {
$result = trim($result);
Expand Down
2 changes: 1 addition & 1 deletion plugin_info/info.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"id": "sshmanager",
"name": "SSH Manager",
"pluginVersion": "1.0.4",
"pluginVersion": "1.0.5",
"description": {
"fr_FR": "Plugin permettant d'ajouter (manuellement ou à partir de templates) des commandes SSH à executer (manuellement ou automatiquement) sur des équipements distants, et pouvant également être utilisé par d'autres plugin comme passerelle SSH.",
"en_US": "Plugin for adding (manually or from templates) SSH commands to be executed (manually or automatically) on remote devices, and which can also be used by other plugins as an SSH gateway.",
Expand Down

0 comments on commit 486bbe8

Please sign in to comment.