mirror of
https://github.com/project-zot/zot.git
synced 2026-06-16 04:17:55 +08:00
update linter version to 1.46.2
Signed-off-by: Ramkumar Chinchani <rchincha@cisco.com>
This commit is contained in:
committed by
Ramkumar Chinchani
parent
32afe712d6
commit
287ac05ddc
@@ -116,7 +116,9 @@ func (ms *metricServer) ReceiveMetrics() interface{} {
|
||||
return <-ms.cacheChan
|
||||
}
|
||||
|
||||
func (ms *metricServer) IsEnabled() (b bool) {
|
||||
func (ms *metricServer) IsEnabled() bool {
|
||||
b := false
|
||||
|
||||
// send a bool value on the request channel to avoid data race
|
||||
ms.reqChan <- b
|
||||
|
||||
|
||||
Reference in New Issue
Block a user