Fix deleting non existent environments

that is an error caused by throwing a panic when an environment is not found and a nonexistent runner manager at the end of the chain is asked for it.
This commit is contained in:
Maximilian Paß
2022-05-29 15:47:04 +02:00
committed by Sebastian Serth
parent 689493047d
commit 795c83f7b2
5 changed files with 49 additions and 15 deletions

View File

@@ -11,6 +11,7 @@ type ManagerHandler interface {
Manager
SetNextHandler(next ManagerHandler)
NextHandler() ManagerHandler
HasNextHandler() bool
}
// Manager encapsulates API calls to the executor API for creation and deletion of execution environments.