MCPcopy Create free account
hub / github.com/apache/nifi-minifi-cpp / mapped_distro

Function mapped_distro

bootstrap.py:81–88  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

79
80
81def mapped_distro():
82 distro_info = get_distro()
83 distro = distro_info[0].lower()
84 release = distro_info[2].lower()
85 if any(d in distro for d in ["rhel", "red hat", "centos"]):
86 return "rhel", release
87 else:
88 return distro, release
89
90
91def find_closest_mirror():

Callers 1

mainFunction · 0.85

Calls 1

get_distroFunction · 0.85

Tested by

no test coverage detected