Skip to content

Commit

Permalink
Fix NuclioSpec duplicated init (#464)
Browse files Browse the repository at this point in the history
  • Loading branch information
Hedingber committed Oct 4, 2020
1 parent ba066ca commit c05a458
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions mlrun/runtimes/function.py
Expand Up @@ -112,21 +112,13 @@ def __init__(
volume_mounts=volume_mounts,
env=env,
resources=resources,
entry_points=entry_points,
description=description,
replicas=replicas,
image_pull_policy=image_pull_policy,
service_account=service_account,
)

super().__init__(
command=command,
args=args,
image=image,
mode=mode,
build=None,
entry_points=entry_points,
description=description,
)

self.base_spec = base_spec or ""
self.function_kind = function_kind
self.source = source or ""
Expand Down

0 comments on commit c05a458

Please sign in to comment.