The notebook controller writes the last-activity annotation before culling the Notebook, however, doesn't remove this annotation before start. This causes the Notebook to be culled again before is has a chance to start. Fix: * calculate correctly the podFound variable and ensure its value its true only if the Pod is actually found. This way the culling annotation will be removed when there is no Pod. Signed-off-by: Apostolos Gerakaris <apoger@arrikto.com> Signed-off-by: Apostolos Gerakaris <apoger@arrikto.com> |
||
|---|---|---|
| .. | ||
| notebook_controller.go | ||
| notebook_controller_bdd_test.go | ||
| notebook_controller_test.go | ||
| suite_test.go | ||