Skip to content

Commit

Permalink
return the shim version from the map method
Browse files Browse the repository at this point in the history
  • Loading branch information
razajafri committed Jan 10, 2024
1 parent 7f2165d commit 6b9a29d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions build/shimplify.py
Original file line number Diff line number Diff line change
Expand Up @@ -373,6 +373,7 @@ def __generate_symlinks():
def __map_version_array(shim_json_string):
shim_ver = str(json.loads(shim_json_string).get('spark'))
assert shim_ver in __all_shims_arr, "all.buildvers in pom.xml does not contain %s" % shim_ver
return shim_ver

def __traverse_source_tree_of_all_shims(src_type, func):
"""Walks src/<src_type>/sparkXYZ"""
Expand Down

0 comments on commit 6b9a29d

Please sign in to comment.