From ec2288c0e23e726ea8bbe0c9860e013e1b846bac Mon Sep 17 00:00:00 2001 From: Runxi Yu Date: Sat, 6 Jun 2026 21:06:11 +0000 Subject: config: QoL renames --- config/errors.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'config/errors.go') diff --git a/config/errors.go b/config/errors.go index f45c31ac..b1049b34 100644 --- a/config/errors.go +++ b/config/errors.go @@ -24,11 +24,11 @@ type LookupError struct { func (err *LookupError) Error() string { switch err.Kind { - case ValueMissing: + case KindMissing: return fmt.Sprintf("config: %s: missing config value", err.Operation) - case ValueValueless: + case KindValueless: return fmt.Sprintf("config: %s: valueless config key", err.Operation) - case ValueString: + case KindString: return fmt.Sprintf("config: %s: invalid string config value", err.Operation) default: return fmt.Sprintf("config: %s: unknown value kind %d", err.Operation, err.Kind) -- cgit v1.3.1-10-gc9f91