Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
OpenDAS
nni
Commits
1bc23f4f
Unverified
Commit
1bc23f4f
authored
Dec 25, 2018
by
SparkSnail
Committed by
GitHub
Dec 25, 2018
Browse files
fix remote bug (#523)
Remote TrainingService, passwd is not required when users set sshKeyPath.
parent
36dbc0fe
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/nni_manager/rest_server/restValidationSchemas.ts
src/nni_manager/rest_server/restValidationSchemas.ts
+1
-1
No files found.
src/nni_manager/rest_server/restValidationSchemas.ts
View file @
1bc23f4f
...
@@ -28,7 +28,7 @@ export namespace ValidationSchemas {
...
@@ -28,7 +28,7 @@ export namespace ValidationSchemas {
username
:
joi
.
string
().
required
(),
username
:
joi
.
string
().
required
(),
ip
:
joi
.
string
().
ip
().
required
(),
ip
:
joi
.
string
().
ip
().
required
(),
port
:
joi
.
number
().
min
(
1
).
max
(
65535
).
required
(),
port
:
joi
.
number
().
min
(
1
).
max
(
65535
).
required
(),
passwd
:
joi
.
string
()
.
required
()
,
passwd
:
joi
.
string
(),
sshKeyPath
:
joi
.
string
(),
sshKeyPath
:
joi
.
string
(),
passphrase
:
joi
.
string
()
passphrase
:
joi
.
string
()
})),
})),
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment