add "part" to ConflictsWith validation error

This commit is contained in:
Garfield Freeman 2019-01-30 11:32:36 -08:00
parent 653bb74403
commit 22a09c2e3a
1 changed files with 1 additions and 1 deletions

View File

@ -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 {