Skip to content

Commit

Permalink
rbd: set volume condition for block
Browse files Browse the repository at this point in the history
set volume condition as healthy if
we dont have any errors for the block
mode as well.

Signed-off-by: Madhu Rajanna <[email protected]>
  • Loading branch information
Madhu-1 authored and mergify[bot] committed Sep 2, 2024
1 parent 54ae9f9 commit 4d5594a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions internal/rbd/nodeserver.go
Original file line number Diff line number Diff line change
Expand Up @@ -1365,6 +1365,10 @@ func blockNodeGetVolumeStats(ctx context.Context, targetPath string) (*csi.NodeG
Unit: csi.VolumeUsage_BYTES,
},
},
VolumeCondition: &csi.VolumeCondition{
Abnormal: false,
Message: "volume is in a healthy condition",
},
}, nil
}

Expand Down

0 comments on commit 4d5594a

Please sign in to comment.