yongseokoh / nvme_exporter

14 stars 9 forks source link

Small error in nvme_list.py #2

Closed IDerr closed 3 years ago

IDerr commented 4 years ago

Hello, in the nvme_list.py you provide an argument, but the function doesn't take one https://github.com/yongseokoh/nvme_exporter/blob/9dd3000df9ab60d5ed7f6ccf6392eeefab1f0336/nvme_list.py#L19 https://github.com/yongseokoh/nvme_exporter/blob/9dd3000df9ab60d5ed7f6ccf6392eeefab1f0336/nvme_list.py#L44

I also see that you format a string but without argument ? https://github.com/yongseokoh/nvme_exporter/blob/9dd3000df9ab60d5ed7f6ccf6392eeefab1f0336/nvme_list.py#L22

Thanks a lot for your work !