Commit 5b1cc881 authored by Eric's avatar Eric

add debug message

parent 8cc0e406
...@@ -266,6 +266,8 @@ func RecycleClient(client *SSHClient) { ...@@ -266,6 +266,8 @@ func RecycleClient(client *SSHClient) {
err := client.Close() err := client.Close()
if err != nil { if err != nil {
logger.Info("Failed to close client err: ", err.Error()) logger.Info("Failed to close client err: ", err.Error())
}else {
logger.Debug("Success to close client")
} }
default: default:
client.decreaseRef() client.decreaseRef()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment