remove useless function

This commit is contained in:
LollipopKit
2021-10-31 21:40:36 +08:00
parent 2eb6e19a86
commit 1943fde6eb
9 changed files with 46 additions and 71 deletions

View File

@@ -50,9 +50,9 @@ class ServerProvider extends BusyProvider {
SSHClient genClient(ServerPrivateInfo spi) {
return SSHClient(
host: spi.ip!,
port: spi.port!,
username: spi.user!,
host: spi.ip,
port: spi.port,
username: spi.user,
passwordOrKey: spi.authorization);
}