From 02914a5ee402d9fe33a684a2908c0d04a7b6a4e2 Mon Sep 17 00:00:00 2001 From: Madhu Pillai Date: Tue, 31 Oct 2023 12:36:12 +0530 Subject: [PATCH] Update config/common/errors.go Co-authored-by: Jonathan Lebon --- config/common/errors.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config/common/errors.go b/config/common/errors.go index 2134d2e5..803670fb 100644 --- a/config/common/errors.go +++ b/config/common/errors.go @@ -56,8 +56,8 @@ var ( // boot device ErrUnknownBootDeviceLayout = errors.New("layout must be one of: aarch64, ppc64le, x86_64") ErrTooFewMirrorDevices = errors.New("mirroring requires at least two devices") - ErrNoLuksBootDevice = errors.New("s390x-device is required if layout: s390x-eckd && s390x-device: /dev/dasd[a-z] or s390x-zfcp && s390x-device: /dev/sd[a-z]") - ErrMirrorNotSupport = errors.New("layout: s390x-zfcp or s390x-eckd does not support mirror") + ErrNoLuksBootDevice = errors.New("device is required for layouts: s390x-eckd, s390x-device") + ErrMirrorNotSupport = errors.New("mirroring not supported on layouts: s390x-zfcp, s390x-eckd") // partition ErrReuseByLabel = errors.New("partitions cannot be reused by label; number must be specified except on boot disk (/dev/disk/by-id/coreos-boot-disk) or when wipe_table is true")