1
0
Fork 0

Fix factory

This commit is contained in:
Joao Gilberto 2022-08-24 03:02:12 +00:00
parent 877a4b3383
commit 303d8181f8

View file

@ -45,7 +45,7 @@ class ProcessorInterface:
elif mode == "swarm": elif mode == "swarm":
return Swarm() return Swarm()
elif mode == "kubernetes": elif mode == "kubernetes":
return Swarm() return Kubernetes()
else: else:
Functions.log("FACTORY", "error", "Expected mode to be 'static', 'docker', 'swarm' or 'kubernetes'. I got '%s'" % (mode)) Functions.log("FACTORY", "error", "Expected mode to be 'static', 'docker', 'swarm' or 'kubernetes'. I got '%s'" % (mode))
return None return None