remove locking cisa global on read.
This commit is contained in:
parent
33cb4defd2
commit
37ddc6a010
@ -16,9 +16,7 @@ var (
|
|||||||
)
|
)
|
||||||
|
|
||||||
func Read() CisaJSON {
|
func Read() CisaJSON {
|
||||||
mu.Lock()
|
|
||||||
o := Cisa
|
o := Cisa
|
||||||
mu.Unlock()
|
|
||||||
return o
|
return o
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user