mirror of
https://github.com/project-zot/zot.git
synced 2026-06-16 20:38:08 +08:00
Fix sync extension logging (#2537)
* fix: nil pointer dereference on localimagestore fixes https://github.com/project-zot/zot/issues/2527 Signed-off-by: Anders Bennedsgaard <abbennedsgaard@gmail.com> * fix: no logging from sync extension imagestore Signed-off-by: Anders Bennedsgaard <abbennedsgaard@gmail.com> * feat: create local imagestore not found error Signed-off-by: Anders Bennedsgaard <abbennedsgaard@gmail.com> * fix: add test Signed-off-by: Anders Bennedsgaard <abbennedsgaard@gmail.com> --------- Signed-off-by: Anders Bennedsgaard <abbennedsgaard@gmail.com>
This commit is contained in:
committed by
GitHub
parent
e5eacaa082
commit
8262c46ad7
@@ -87,6 +87,7 @@ var (
|
||||
ErrDuplicateConfigName = errors.New("cli config name already added")
|
||||
ErrInvalidRoute = errors.New("invalid route prefix")
|
||||
ErrImgStoreNotFound = errors.New("image store not found corresponding to given route")
|
||||
ErrLocalImgStoreNotFound = errors.New("local image store not found corresponding to given route")
|
||||
ErrEmptyValue = errors.New("empty cache value")
|
||||
ErrEmptyRepoList = errors.New("no repository found")
|
||||
ErrCVESearchDisabled = errors.New("cve search is disabled")
|
||||
|
||||
Reference in New Issue
Block a user