Update configs/configschema/decoder_spec.go
Co-authored-by: Kristin Laemmert <mildwonkey@users.noreply.github.com>
This commit is contained in:
parent
dd8a8bdea1
commit
bb76c3b50c
|
@ -26,7 +26,7 @@ var decoderSpecCache = specCache{
|
||||||
specs: map[uintptr]hcldec.Spec{},
|
specs: map[uintptr]hcldec.Spec{},
|
||||||
}
|
}
|
||||||
|
|
||||||
// get returns the Spec associated with eth given Block, or nil if non is
|
// get returns the Spec associated with the given Block, or nil if none is
|
||||||
// found.
|
// found.
|
||||||
func (s *specCache) get(b *Block) hcldec.Spec {
|
func (s *specCache) get(b *Block) hcldec.Spec {
|
||||||
s.Lock()
|
s.Lock()
|
||||||
|
|
Loading…
Reference in New Issue