Skip to content

Commit

Permalink
Revert "fix: fix flavor to ironic resource class conversion"
Browse files Browse the repository at this point in the history
This reverts commit 5ac057b which was
added in order to resolve the mismatch between the nova and ironic
flavors that had a punctuation in the name. The reverted commit
incorrectly changed the resource class name on the Ironic side while it
was the  Nova side that was missing the underscores. This was resolved
in the commit before this one.
  • Loading branch information
skrobul committed Nov 25, 2024
1 parent 0050224 commit d504e52
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,6 @@ def stripped_name(self):
_, name = self.name.split(".", 1)
if not name:
raise Exception(f"Unable to strip envtype from flavor: {self.name}")
# need to strip '.' from the ironic flavor name
name = name.replace(".", "")
return name

@property
Expand Down

0 comments on commit d504e52

Please sign in to comment.