fix(config): fix config reloader panic (#1806)

reloading config from one without extensions
to one with extensions caused a panic

Signed-off-by: Petu Eusebiu <peusebiu@cisco.com>
This commit is contained in:
peusebiu
2023-09-14 12:34:18 +03:00
committed by GitHub
parent 3dbaf2b3ff
commit 3d8d47d601
3 changed files with 80 additions and 16 deletions
+1 -1
View File
@@ -2040,7 +2040,7 @@ func (is *ImageStore) getOriginalBlob(digest godigest.Digest, duplicateBlobs []s
// if we still don't have, search it
if originalBlob == "" {
is.log.Warn().Msg("rebuild dedupe: failed to find blob in cache, searching it in s3...")
is.log.Warn().Msg("rebuild dedupe: failed to find blob in cache, searching it in storage...")
// a rebuild dedupe was attempted in the past
// get original blob, should be found otherwise exit with error