Description
We are using platform.linux_distribution function in our metadata endpoint. But, this function was deprecated from Python3.5 and totally removed from Python 3.8.
Solution
We can directly read the /etc/lsb-release and /etc/os-release file as required.