Fix factory
This commit is contained in:
parent
877a4b3383
commit
303d8181f8
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue