Avoid a warning that is now reported

Should not change behavior.

Signed-off-by: Miloslav Trmač <mitr@redhat.com>
This commit is contained in:
Miloslav Trmač 2022-10-12 22:46:06 +02:00
parent dcefc6da00
commit 607ceb6b9a
1 changed files with 1 additions and 5 deletions

View File

@ -2071,11 +2071,7 @@ func (s *store) Exists(id string) bool {
return false
}
defer rcstore.stopReading()
if rcstore.Exists(id) {
return true
}
return false
return rcstore.Exists(id)
}
func dedupeNames(names []string) []string {