Skip to content

Commit

Permalink
fix: rds ebs info
Browse files Browse the repository at this point in the history
  • Loading branch information
EverettBerry committed Jan 12, 2024
1 parent 2fa5c25 commit b6470cd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rds.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ def parse_ebs_combined_table(by_type, table):
if row.xpath("th"):
continue
cols = row.xpath("td")
instance_type = sanitize_instance_type(totext(cols[0]).replace("*", ""))
instance_type = sanitize_instance_type(totext(cols[0]))[:-1]

if len(cols) == 4:
ebs_baseline_bandwidth = locale.atof(totext(cols[1]))
Expand Down Expand Up @@ -144,7 +144,7 @@ def parse_ebs_nondefault_table(by_type, table):
if row.xpath("th"):
continue
cols = row.xpath("td")
instance_type = sanitize_instance_type(totext(cols[0]).replace("*", ""))
instance_type = sanitize_instance_type(totext(cols[0]))[:-1]
ebs_max_bandwidth = locale.atof(totext(cols[1]))
ebs_throughput = locale.atof(totext(cols[2]))
ebs_iops = locale.atof(totext(cols[3]))
Expand Down

0 comments on commit b6470cd

Please sign in to comment.