ceph-csi/internal
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
..
cephfs cephfs: add mountOptions during NodeStage call 2023-06-19 09:51:40 +00:00
controller rebase: update sigs.k8s.io/controller-runtime to current version 2023-06-06 12:21:43 +00:00
csi-addons rbd: (lastSyncInfo)handle last sync duration being empty case 2023-06-23 11:23:17 +00:00
csi-common build: address interfacer warning 2023-06-05 04:49:46 +00:00
journal build: address gofmt warnings 2023-06-05 04:49:46 +00:00
kms build: address gofmt warnings 2023-06-05 04:49:46 +00:00
liveness cleanup: move log functions to new internal/util/log package 2021-08-26 09:34:05 +00:00
nfs build: address errorlint warning 2023-06-05 04:49:46 +00:00
rbd rbd: migration of replication controller server 2023-06-23 06:00:40 +00:00
util build: address gosec warning 2023-06-05 04:49:46 +00:00