Skip to content

Commit

Permalink
fix lint error
Browse files Browse the repository at this point in the history
  • Loading branch information
okozachenko1203 committed Feb 13, 2025
1 parent ec25359 commit a761f6b
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions magnum_cluster_api/resources.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@
from oslo_serialization import base64
from oslo_utils import encodeutils


from magnum_cluster_api import (
clients,
helm,
Expand Down Expand Up @@ -149,9 +148,7 @@ def apply(self) -> None:
resource = self.get_object()

# Check if resource exists
existing_resource = resource.api.get(
**resource.api_kwargs()
)
existing_resource = resource.api.get(**resource.api_kwargs())
exists = existing_resource.status_code == 200

if not exists:
Expand Down

0 comments on commit a761f6b

Please sign in to comment.