Skip to content

Commit

Permalink
fix(staticroute): sends the correct value for name when deleting route
Browse files Browse the repository at this point in the history
  • Loading branch information
pallabpain committed Sep 22, 2023
1 parent d664b66 commit f9822d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion riocli/static_route/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ def update_object(self, client: Client, obj: typing.Any) -> None:

def delete_object(self, client: Client, obj: typing.Any):
client = new_v2_client()
client.delete_static_route(obj.name)
client.delete_static_route(obj.metadata.name)

@classmethod
def pre_process(cls, client: Client, d: typing.Dict) -> None:
Expand Down

0 comments on commit f9822d0

Please sign in to comment.