From 98ea8ce5accfad99ca2c16bf43bbfca9840d3236 Mon Sep 17 00:00:00 2001 From: Eric Weber Date: Thu, 23 May 2024 18:30:57 -0500 Subject: [PATCH] Fix a typo in message about small XFS filesystem Longhorn 8488 Signed-off-by: Eric Weber --- manager/kubernetes.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manager/kubernetes.go b/manager/kubernetes.go index 9af7f46176..fe5387e1fe 100644 --- a/manager/kubernetes.go +++ b/manager/kubernetes.go @@ -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) }