From 5ea214a7268201379d82f8b51328bc2181f3030e Mon Sep 17 00:00:00 2001 From: Jarrod Johnson Date: Wed, 22 Feb 2023 16:34:13 -0500 Subject: [PATCH] Use eventlet subprocess sshutil uses eventlet subprocess, making calledprocesserror hard to catch. Adjust to consistently use same subprocesss module. --- confluent_server/bin/confluent_selfcheck | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/confluent_server/bin/confluent_selfcheck b/confluent_server/bin/confluent_selfcheck index 845bb107..6a9d5163 100755 --- a/confluent_server/bin/confluent_selfcheck +++ b/confluent_server/bin/confluent_selfcheck @@ -15,7 +15,7 @@ import confluent.sshutil as sshutil import confluent.certutil as certutil import confluent.client as client import confluent.config.configmanager as configmanager -import subprocess +import eventlet.green.subprocess as subprocess import tempfile import shutil import eventlet.green.socket as socket