ceph-csi/internal/csi-addons/rbd
Rakshith R 1ca6f004a5 rbd: (lastSyncInfo)handle last sync duration being empty case
This commit modifies code to handle last sync duration being
empty & 0,returning nil & 0 on encountering it respectively.
Earlier both case return 0. Test case is added too.

Signed-off-by: Rakshith R <rar@redhat.com>
2023-06-23 11:23:17 +00:00
..
identity.go rbd: add replication capability & service to csiaddons server 2022-08-18 08:19:20 +00:00
network_fence_test.go cleanup: remove import alias for fence library 2022-04-18 10:29:08 +00:00
network_fence.go ci: fix all linter errors found in golangci-lint 2022-06-03 12:55:54 +00:00
reclaimspace_test.go rbd: implement NodeReclaimSpace 2021-12-23 17:43:23 +00:00
reclaimspace.go ci: fix all linter errors found in golangci-lint 2022-06-03 12:55:54 +00:00
replication_test.go rbd: (lastSyncInfo)handle last sync duration being empty case 2023-06-23 11:23:17 +00:00
replication.go rbd: (lastSyncInfo)handle last sync duration being empty case 2023-06-23 11:23:17 +00:00