"...resnet50_tensorflow.git" did not exist on "5359a2893aa8e81b279b9b5bdb00d8b9794f90ba"
Unverified Commit 1bc23f4f authored by SparkSnail's avatar SparkSnail Committed by GitHub
Browse files

fix remote bug (#523)

Remote TrainingService, passwd is not required when users set sshKeyPath.
parent 36dbc0fe
......@@ -28,7 +28,7 @@ export namespace ValidationSchemas {
username: joi.string().required(),
ip: joi.string().ip().required(),
port: joi.number().min(1).max(65535).required(),
passwd: joi.string().required(),
passwd: joi.string(),
sshKeyPath: joi.string(),
passphrase: joi.string()
})),
......
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