Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
nni
Commits
b49cceb9
Commit
b49cceb9
authored
Dec 04, 2018
by
chicm-ms
Committed by
fishyds
Dec 05, 2018
Browse files
Fix multiphase error message in nnimanager.log (#445)
parent
311d3da6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
src/nni_manager/core/nniDataStore.ts
src/nni_manager/core/nniDataStore.ts
+6
-1
No files found.
src/nni_manager/core/nniDataStore.ts
View file @
b49cceb9
...
...
@@ -219,7 +219,12 @@ class NNIDataStore implements DataStore {
private
async
isMultiPhase
():
Promise
<
boolean
>
{
if
(
this
.
multiPhase
===
undefined
)
{
this
.
multiPhase
=
(
await
this
.
getExperimentProfile
(
getExperimentId
())).
params
.
multiPhase
;
const
expProfile
:
ExperimentProfile
=
await
this
.
getExperimentProfile
(
getExperimentId
());
if
(
expProfile
!==
undefined
)
{
this
.
multiPhase
=
expProfile
.
params
.
multiPhase
;
}
else
{
return
false
;
}
}
if
(
this
.
multiPhase
!==
undefined
)
{
...
...
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