Skip to content

Commit

Permalink
Merge branch 'dev' of github.com:NVIDIA/spark-rapids-tools into unsup…
Browse files Browse the repository at this point in the history
…portedOperators_info
  • Loading branch information
nartal1 committed Dec 12, 2023
2 parents 9a649c0 + 9f60c9e commit 42a41f7
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions user_tools/src/spark_rapids_pytools/cloud_api/onprem.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,9 +70,8 @@ def get_platform_name(self) -> str:
This used to get the lower case of the platform of the runtime.
:return: the name of the platform of the runtime in lower_case.
"""
if self.platform is not None:
if self.platform == 'dataproc':
self_id = CspEnv.DATAPROC
if self.platform is not None and self.platform == 'dataproc':
self_id = CspEnv.DATAPROC
else:
self_id = self.type_id
return CspEnv.pretty_print(self_id)
Expand Down

0 comments on commit 42a41f7

Please sign in to comment.