scrape: remove duplicate mutex unlock (#11282)

Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>

Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
This commit is contained in:
Bogdan Drutu 2022-09-07 15:00:14 -07:00 committed by GitHub
parent c8cfe5c25d
commit f736a9e953
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 1 deletions

View File

@ -1493,7 +1493,6 @@ func (sl *scrapeLoop) append(app storage.Appender, b []byte, contentType string,
meta.Help = metaEntry.Help
return true
}
sl.cache.metaMtx.Unlock()
return false
}