diff --git a/platform/barefoot/sonic-platform-modules-bfn-montara/sonic_platform/psu.py b/platform/barefoot/sonic-platform-modules-bfn-montara/sonic_platform/psu.py index d065104d2d..689fbf1020 100644 --- a/platform/barefoot/sonic-platform-modules-bfn-montara/sonic_platform/psu.py +++ b/platform/barefoot/sonic-platform-modules-bfn-montara/sonic_platform/psu.py @@ -110,7 +110,7 @@ class Psu(PsuBase): @cancel_on_sigterm def get_metric_value(self, metric_name): - return get_metric_value(Psu.__sensors_get(), "PSU%d ".format(self.__index) + metric_name) + return get_metric_value(Psu.__sensors_get(), "PSU{} ".format(self.__index) + metric_name) @staticmethod def get_num_psus():