Skip to content

Commit

Permalink
fix issue with variable and linter
Browse files Browse the repository at this point in the history
  • Loading branch information
yurnov committed Jun 5, 2024
1 parent dfbd254 commit 205b88d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/kubernetes.core.kubectl_connection.rst
Original file line number Diff line number Diff line change
Expand Up @@ -426,7 +426,7 @@ Examples
- name: Get My App pod name
ansible.builtin.set_fact:
my_app_pod_name: "{{ my_app_pod.resources[0].metadata.name') }}"
my_app_pod_name: "{{ my_app_pod.resources[0].metadata.name }}"
- name: Add My App pod to inventory
ansible.builtin.add_host:
Expand Down
2 changes: 1 addition & 1 deletion plugins/connection/kubectl.py
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@
- name: Get My App pod name
ansible.builtin.set_fact:
my_app_pod_name: "{{ my_app_pod.resources[0].metadata.name') }}"
my_app_pod_name: "{{ my_app_pod.resources[0].metadata.name }}"
- name: Add My App pod to inventory
ansible.builtin.add_host:
Expand Down

0 comments on commit 205b88d

Please sign in to comment.