mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-12-18 02:50:30 +00:00
ebe378c79a
It seems that convering the release component from the unix.Utsrelease type leaves some trailing "\x00" characters. While splitting the string to compare kernel versions, these additional characters might prevent converting the string to an int. Strip the additional characters before returning the string. Note: "\x00" characters are not visible when printing to a file or screen. They can be seen in hex-editors, or sending the output through 'xxd'. Fixes: #1167 Signed-off-by: Niels de Vos <ndevos@redhat.com> |
||
---|---|---|
.. | ||
cephfs | ||
csi-common | ||
journal | ||
liveness | ||
rbd | ||
util |