remove unused value

pull/19393/head
James Bardin 7 years ago
parent db968733da
commit e4270993be

@ -595,19 +595,11 @@ func (d *InstanceDiff) applyCollectionDiff(attrName string, oldAttrs map[string]
idx = attrName + ".%"
}
// record if we got the index from the diff
setIndex := false
for k := range keys {
if !strings.HasPrefix(k, attrName+".") {
continue
}
// we need to verify if we saw the index later
if k == idx {
setIndex = true
}
res, err := d.applyAttrDiff(k, oldAttrs, attrSchema)
if err != nil {
return result, err

Loading…
Cancel
Save