aboutsummaryrefslogtreecommitdiff
path: root/config/errors.go
diff options
context:
space:
mode:
Diffstat (limited to 'config/errors.go')
-rw-r--r--config/errors.go6
1 files changed, 3 insertions, 3 deletions
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)