diff --git a/huwawei_lte_exporter b/huwawei_lte_exporter index 7c876f7..fd57d3f 100755 --- a/huwawei_lte_exporter +++ b/huwawei_lte_exporter @@ -54,7 +54,7 @@ def prom_exporter(): response.append('#HELP '+attribute+' '+info['help']) response.append('#TYPE '+attribute+' '+info['type']) response.append(attribute+'{'+info['device']+'} '+info['value']) - + client.user.logout() return '\n'.join(response)