mirror of
https://github.com/project-zot/zot.git
synced 2026-06-17 04:48:26 +08:00
refactor(artifact): remove oci artifact support (#1359)
* refactor(artifact): remove oci artifact support - add header to referrers call to indicated applied artifact type filters Signed-off-by: Laurentiu Niculae <niculae.laurentiu1@gmail.com> * feat(gc): simplify gc logic to increase coverage Signed-off-by: Laurentiu Niculae <niculae.laurentiu1@gmail.com> --------- Signed-off-by: Laurentiu Niculae <niculae.laurentiu1@gmail.com>
This commit is contained in:
+1
-1
@@ -92,7 +92,7 @@ func GoroutineID() int {
|
||||
|
||||
type goroutineHook struct{}
|
||||
|
||||
func (h goroutineHook) Run(e *zerolog.Event, level zerolog.Level, msg string) {
|
||||
func (h goroutineHook) Run(e *zerolog.Event, level zerolog.Level, _ string) {
|
||||
if level != zerolog.NoLevel {
|
||||
e.Int("goroutine", GoroutineID())
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user