Skip to content

Commit

Permalink
[Spark] Fix backwards-comp issue with spark-2 and spark-3 in 0.10…
Browse files Browse the repository at this point in the history
… client and 1.1 server (#2292)
  • Loading branch information
theSaarco committed Aug 24, 2022
1 parent 546ba7c commit 5307bda
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions mlrun/api/crud/client_spec.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ def get_client_spec(self):
dask_kfp_image=config.dask_kfp_image,
api_url=config.httpdb.api_url,
nuclio_version=resolve_nuclio_version(),
spark_operator_version=config.spark_operator_version,
# These don't have a default value, but we don't send them if they are not set to allow the client to know
# when to use server value and when to use client value (server only if set). Since their default value is
# empty and not set is also empty we can use the same _get_config_value_if_not_default
Expand All @@ -64,9 +65,6 @@ def get_client_spec(self):
auto_mount_params=self._get_config_value_if_not_default(
"storage.auto_mount_params"
),
spark_operator_version=self._get_config_value_if_not_default(
"spark_operator_version"
),
default_tensorboard_logs_path=self._get_config_value_if_not_default(
"default_tensorboard_logs_path"
),
Expand Down

0 comments on commit 5307bda

Please sign in to comment.