fix(agent): non-null assertion for serverHost/sshUser in deployToUserServer
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
b87cebf465
commit
49ad47cf59
|
|
@ -69,9 +69,9 @@ export class AgentInstanceDeployService {
|
|||
): Promise<void> {
|
||||
const creds: PoolServerCreds = {
|
||||
id: '',
|
||||
host: instance.serverHost,
|
||||
host: instance.serverHost!,
|
||||
sshPort: instance.sshPort,
|
||||
sshUser: instance.sshUser,
|
||||
sshUser: instance.sshUser!,
|
||||
sshKey,
|
||||
};
|
||||
const hostPort = await this.allocatePort(creds.host);
|
||||
|
|
|
|||
Loading…
Reference in New Issue