Skip to content

Commit

Permalink
fix uri error in get_current_bios()
Browse files Browse the repository at this point in the history
  • Loading branch information
ningmengcao060634 committed Oct 16, 2020
1 parent 0f09a34 commit 18663cb
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -818,7 +818,7 @@ def get_current_bios(self):
# @return a string, "master" or "slave"
"""
bios_ver = "N/A"
data = self.get_from_bmc(self.bmc_info_uri)
data = self.get_from_bmc(self.bios_boot_uri)
if not data or "Flash" not in data:
return bios_ver

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -819,7 +819,7 @@ def get_current_bios(self):
# @return a string, "master" or "slave"
"""
bios_ver = "N/A"
data = self.get_from_bmc(self.bmc_info_uri)
data = self.get_from_bmc(self.bios_boot_uri)
if not data or "Flash" not in data:
return bios_ver

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -818,7 +818,7 @@ def get_current_bios(self):
# @return a string, "master" or "slave"
"""
bios_ver = "N/A"
data = self.get_from_bmc(self.bmc_info_uri)
data = self.get_from_bmc(self.bios_boot_uri)
if not data or "Flash" not in data:
return bios_ver

Expand Down

0 comments on commit 18663cb

Please sign in to comment.