Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
europdx
k8s
cbio-on-demand
API
Commits
c1cc32b1
Commit
c1cc32b1
authored
Jun 21, 2019
by
Ľuboslav Pivarč
Browse files
fixed status -> was giving active premature
parent
6e6d1eda
Changes
1
Hide whitespace changes
Inline
Side-by-side
cbioondemandK8S/src/main/java/cz/muni/ics/edirex/cbioondemandK8S/service/KubernetesImpl.java
View file @
c1cc32b1
...
...
@@ -331,13 +331,13 @@ public class KubernetesImpl implements CBioOnDemandService {
String
podPhase
=
pod
.
getStatus
().
getPhase
();
Status
status
=
Status
.
notFound
;
if
(
containerReady
)
status
=
Status
.
decide
;
return
Status
.
decide
;
if
(
podPhase
.
equals
(
"Pending"
))
status
=
Status
.
creating
;
return
Status
.
creating
;
if
(
podPhase
.
equals
(
"Running"
))
status
=
Status
.
active
;
return
Status
.
importing
;
if
(
podPhase
.
equals
(
"Failed"
))
status
=
Status
.
failedcreating
;
return
Status
.
failedcreating
;
return
status
;
}
...
...
Write
Preview
Supports
Markdown
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