Skip to content

Commit

Permalink
Fix runner
Browse files Browse the repository at this point in the history
Signed-off-by: Alina Buzachis <abuzachis@redhat.com>
  • Loading branch information
alinabuzachis committed Jan 14, 2022
1 parent ed729bf commit 2a81268
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/module_utils/k8s/runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ def perform_action(svc, definition: Dict, params: Dict) -> Dict:
state = params.get("state", None)
result = {}

resource = svc.find_resource(definition)
resource = svc.find_resource(definition["kind"], definition["apiVersion"])
existing = svc.retrieve(resource, definition)

if state == "absent":
Expand Down

0 comments on commit 2a81268

Please sign in to comment.