Skip to content

Commit

Permalink
Fix a typo in message about small XFS filesystem
Browse files Browse the repository at this point in the history
Longhorn 8488

Signed-off-by: Eric Weber <eric.weber@suse.com>
  • Loading branch information
ejweber authored and innobead committed May 28, 2024
1 parent 0a5ae00 commit 98ea8ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion manager/kubernetes.go
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ func (m *VolumeManager) PVCreate(name, pvName, fsType, secretNamespace, secretNa
fsType = "ext4"
}
if fsType == "xfs" && v.Spec.Size < util.MinimalVolumeSizeXFS {
return nil, fmt.Errorf("XFS filesystems with size %d, larger than %d, are not supported", v.Spec.Size,
return nil, fmt.Errorf("XFS filesystems with size %d, smaller than %d, are not supported", v.Spec.Size,
util.MinimalVolumeSizeXFS)
}

Expand Down

0 comments on commit 98ea8ce

Please sign in to comment.