Fixed a small couple of glitches that appeared during load testing.

This commit is contained in:
Dave Shanley
2022-09-26 14:22:48 -04:00
parent 3b8e9a6827
commit 8533ea9bdc
2 changed files with 1419 additions and 1413 deletions

View File

@@ -106,15 +106,17 @@ func (sr *SecurityRequirement) Build(root *yaml.Node, idx *index.SpecIndex) erro
dat = keyValues dat = keyValues
} }
} }
res[low.KeyReference[string]{ if currSec != nil {
Value: currSec.Value, res[low.KeyReference[string]{
KeyNode: currSec, Value: currSec.Value,
}] = dat KeyNode: currSec,
requirements = append(requirements, }] = dat
low.ValueReference[map[low.KeyReference[string]][]low.ValueReference[string]]{ requirements = append(requirements,
Value: res, low.ValueReference[map[low.KeyReference[string]][]low.ValueReference[string]]{
ValueNode: n, Value: res,
}) ValueNode: n,
})
}
} }
} }
sr.ValueRequirements = requirements sr.ValueRequirements = requirements

File diff suppressed because it is too large Load Diff