Skip to content

Commit

Permalink
fix: forgot overrideCore argument in the buildFactory.
Browse files Browse the repository at this point in the history
  • Loading branch information
KernAttila committed Sep 21, 2024
1 parent fb91f2f commit 82e98f1
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions cuesubmit/cuesubmit/Layer.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,12 +69,15 @@ def toDict(self):
}

@staticmethod
def buildFactory(name=None, layerType=None, cmd=None, layerRange=None, chunk=None, cores=None,
env=None, services=None, limits=None, dependType=None, dependsOn=None):
def buildFactory(name=None, layerType=None, cmd=None, layerRange=None, chunk=None,
overrideCores=None, cores=None, env=None, services=None, limits=None,
dependType=None, dependsOn=None):
"""Build a new LayerData object with the given settings."""
layerData = LayerData()
layerData.update(name, layerType, cmd, layerRange, chunk, cores, env, services, limits,
dependType, dependsOn)
layerData.update(name=name, layerType=layerType, cmd=cmd, layerRange=layerRange,
chunk=chunk, overrideCores=overrideCores, cores=cores, env=env,
services=services, limits=limits,
dependType=dependType, dependsOn=dependsOn)
return layerData

def update(self, name=None, layerType=None, cmd=None, layerRange=None, chunk=None,
Expand Down

0 comments on commit 82e98f1

Please sign in to comment.