Skip to content

Commit

Permalink
Update get_plugin_provisioner_leader to pass namespace to the functio…
Browse files Browse the repository at this point in the history
…n get_pod_logs (#9213)

Signed-off-by: Jilju Joy <[email protected]>
  • Loading branch information
jilju authored Jan 22, 2024
1 parent 04905e2 commit a17a03c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ocs_ci/ocs/resources/pod.py
Original file line number Diff line number Diff line change
Expand Up @@ -1964,7 +1964,7 @@ def get_plugin_provisioner_leader(interface, namespace=None, leader_type="provis
pods_log = {}
for pod in pods:
pods_log[pod] = get_pod_logs(
pod_name=pod.name, container=leader_types[leader_type]
pod_name=pod.name, container=leader_types[leader_type], namespace=namespace
).split("\n")

for pod, log_list in pods_log.items():
Expand Down

0 comments on commit a17a03c

Please sign in to comment.