Skip to content
This repository has been archived by the owner on Aug 14, 2021. It is now read-only.

Commit

Permalink
fix(clone): get fsType from the Storage class annotation
Browse files Browse the repository at this point in the history
Commit changes to get the fstype info from the CASVolume
resource which populated using via CAS config
in StorageClass annotations.

Signed-off-by: prateekpandey14 <[email protected]>
  • Loading branch information
prateekpandey14 authored and kmova committed Jan 10, 2020
1 parent 09eb595 commit e399cb6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion snapshot/pkg/volume/openebs/processor.go
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ func (h *openEBSPlugin) SnapshotRestore(snapshotData *crdv1.VolumeSnapshotData,
TargetPortal: newVolume.Spec.TargetPortal,
IQN: newVolume.Spec.Iqn,
Lun: 0,
FSType: "ext4",
FSType: newVolume.Spec.FSType,
ReadOnly: false,
},
}
Expand Down

0 comments on commit e399cb6

Please sign in to comment.