Skip to content

Commit

Permalink
Fixed a bug with the create directory log statement
Browse files Browse the repository at this point in the history
  • Loading branch information
niemyjski committed Sep 27, 2024
1 parent a34363d commit 8d70f0a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Foundatio.Storage.SshNet/Storage/SshNetFileStorage.cs
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,7 @@ private void CreateDirectory(string path)
if (_client.Exists(currentDirectory))
continue;

_logger.LogInformation("Creating {Directory} directory", directory);
_logger.LogInformation("Creating {Directory} directory", currentDirectory);

try
{
Expand Down Expand Up @@ -554,6 +554,6 @@ public void Dispose()
_logger.LogTrace("Disconnected from {Host}:{Port}", _client.ConnectionInfo.Host, _client.ConnectionInfo.Port);
}

((IBaseClient)_client).Dispose();
_client.Dispose();
}
}

0 comments on commit 8d70f0a

Please sign in to comment.