Skip to content

Commit

Permalink
fix(spdk) fix misleading offline rebuilding hint
Browse files Browse the repository at this point in the history
Signed-off-by: Siye Wang <siye@rancher.com>
  • Loading branch information
smallteeths authored and David Ko committed Jun 20, 2023
1 parent 26c115f commit 8f2a04a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/routes/volume/detail/VolumeInfo.js
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ function VolumeInfo({ selectedVolume, snapshotModalState, engineImages, hosts, c
{getOfflineRebuiltStatusWithoutFrontend(selectedVolume) && <Alert
style={{ marginTop: 5 }}
message="Offline Rebuilding"
description="The volume rebuilding will be automatically triggered after detachment"
description={selectedVolume.offlineReplicaRebuildingRequired ? 'The volume rebuilding will be automatically triggered after detachment' : 'Offline Replica Rebuilding is disabled, the volume rebuilding will not be automatically triggered after detachment'}
type="warning"
showIcon
/>}
Expand Down

0 comments on commit 8f2a04a

Please sign in to comment.