]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
common: Add metadata with only Ceph version number and release 21095/head
authorWido den Hollander <wido@42on.com>
Wed, 28 Mar 2018 10:25:18 +0000 (12:25 +0200)
committerWido den Hollander <wido@42on.com>
Wed, 28 Mar 2018 11:40:18 +0000 (13:40 +0200)
commit2a745f56c198c297569638de386c95355aef2fd0
tree27b4b7d81c919449f5e4191216197ce99ecce7b6
parentdd03c5e54e2ca46bf30c81dd7aac7679ccfee7da
common: Add metadata with only Ceph version number and release

This prevents consumers from this data to have to fully parse
and split the 'ceph_version' string which is prone to errors.

ceph_version_short only contains the version number (maj, min, patch)
and ceph_release the codename, eg, luminous.

Signed-off-by: Wido den Hollander <wido@42on.com>
src/common/util.cc
src/common/version.cc
src/common/version.h