From 22a09c2e3ad990e858afc1679afa7588dfdd1759 Mon Sep 17 00:00:00 2001 From: Garfield Freeman Date: Wed, 30 Jan 2019 11:32:36 -0800 Subject: [PATCH] add "part" to ConflictsWith validation error --- helper/schema/schema.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/helper/schema/schema.go b/helper/schema/schema.go index 77c50de2b..b640e7512 100644 --- a/helper/schema/schema.go +++ b/helper/schema/schema.go @@ -674,7 +674,7 @@ func (m schemaMap) InternalValidate(topSchemaMap schemaMap) error { var ok bool if target, ok = sm[part]; !ok { - return fmt.Errorf("%s: ConflictsWith references unknown attribute (%s)", k, key) + return fmt.Errorf("%s: ConflictsWith references unknown attribute (%s) at part (%s)", k, key, part) } if subResource, ok := target.Elem.(*Resource); ok {