mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00

Fixes the incorrect backport of WaitLeader, as spawnJsonCmd receives an expected output string as an argument, which wasn't provided in the first backport implementation. Original backport of commit 371179e29208f690477c85fc552e7c824a66f87e from PR #17398. Signed-off-by: Ivan Valdes <ivan@vald.es>