mirror of
https://github.com/ceph/ceph-csi.git
synced 2025-06-14 02:43:36 +00:00
cephfs: fix fetchIP to support more formats
Signed-off-by: Riya Singhal <rsinghal@redhat.com>
This commit is contained in:
committed by
mergify[bot]
parent
b25a02e0df
commit
bee77f7fac
@ -73,6 +73,11 @@ func TestFetchIP(t *testing.T) {
|
||||
expectedIP: "2001:db8:85a3::8a2e:370:7334",
|
||||
expectedErr: false,
|
||||
},
|
||||
{
|
||||
clientInfo: "client.24152 v1:100.64.0.7:0/3658550259",
|
||||
expectedIP: "100.64.0.7",
|
||||
expectedErr: false,
|
||||
},
|
||||
{
|
||||
clientInfo: "",
|
||||
expectedIP: "",
|
||||
|
Reference in New Issue
Block a user