Commit c1cc32b1 authored by Ľuboslav Pivarč's avatar Ľuboslav Pivarč
Browse files

fixed status -> was giving active premature

parent 6e6d1eda
......@@ -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;
}
......
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