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

This fix avoids the assumption of knowing the current version of the binary. We can query the binary with the version flag to get the actual version of the given binary we upgrade and downgrade to. The respectively reported versions should match what is returned by the version endpoint. Signed-off-by: Thomas Jungblut <tjungblu@redhat.com>