forked from rook/rook
We need to explicitly assign the ceph version within each scope since one function returns a pointer and one is not. Previously, the `desiredCephVersion` was recreated in the scope of the `else` and thus a new variable `desiredCephVersion` was initialized (see the `:=`). Now, each scope creates and assign to clusterInfo a `desiredCephVersion` value. Signed-off-by: Sébastien Han <seb@redhat.com>