Excluded controllers on listing

This commit is contained in:
Pünkösd Marcell 2021-04-19 17:36:54 +02:00
parent 565c662ee2
commit 37b1bd4373

View File

@ -18,7 +18,7 @@ import time
class JobView(FlaskView):
CONTROLLER_HTTP_PORT = 8080 # It's a mediocre idea to hard code this I think
job_schema = JobSchema(many=False)
jobs_schema = JobSchema(many=True)
jobs_schema = JobSchema(many=True, exclude=["controllers"])
@staticmethod
def _get_k8s_stuff_controller(controller: Controller) -> dict: