Skip to content

feat(redis): call redis.SetLogger() with the zot logger as parameter

Codecov / codecov/patch failed Jan 30, 2025 in 0s

82.78% of diff hit (target 91.58%)

View this Pull Request on Codecov

82.78% of diff hit (target 91.58%)

Annotations

Check warning on line 24 in pkg/api/config/redis/redis.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/api/config/redis/redis.go#L23-L24

Added lines #L23 - L24 were not covered by tests

Check warning on line 25 in pkg/meta/meta.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/meta/meta.go#L24-L25

Added lines #L24 - L25 were not covered by tests

Check warning on line 160 in pkg/meta/redisdb/redis.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/meta/redisdb/redis.go#L157-L160

Added lines #L157 - L160 were not covered by tests

Check warning on line 181 in pkg/meta/redisdb/redis.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/meta/redisdb/redis.go#L178-L181

Added lines #L178 - L181 were not covered by tests

Check warning on line 189 in pkg/meta/redisdb/redis.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/meta/redisdb/redis.go#L185-L189

Added lines #L185 - L189 were not covered by tests

Check warning on line 196 in pkg/meta/redisdb/redis.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/meta/redisdb/redis.go#L192-L196

Added lines #L192 - L196 were not covered by tests

Check warning on line 247 in pkg/meta/redisdb/redis.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/meta/redisdb/redis.go#L244-L247

Added lines #L244 - L247 were not covered by tests

Check warning on line 257 in pkg/meta/redisdb/redis.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/meta/redisdb/redis.go#L251-L257

Added lines #L251 - L257 were not covered by tests

Check warning on line 320 in pkg/meta/redisdb/redis.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/meta/redisdb/redis.go#L319-L320

Added lines #L319 - L320 were not covered by tests

Check warning on line 360 in pkg/meta/redisdb/redis.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/meta/redisdb/redis.go#L359-L360

Added lines #L359 - L360 were not covered by tests

Check warning on line 368 in pkg/meta/redisdb/redis.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/meta/redisdb/redis.go#L364-L368

Added lines #L364 - L368 were not covered by tests

Check warning on line 476 in pkg/meta/redisdb/redis.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/meta/redisdb/redis.go#L475-L476

Added lines #L475 - L476 were not covered by tests

Check warning on line 484 in pkg/meta/redisdb/redis.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/meta/redisdb/redis.go#L480-L484

Added lines #L480 - L484 were not covered by tests

Check warning on line 515 in pkg/meta/redisdb/redis.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/meta/redisdb/redis.go#L514-L515

Added lines #L514 - L515 were not covered by tests

Check warning on line 523 in pkg/meta/redisdb/redis.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/meta/redisdb/redis.go#L519-L523

Added lines #L519 - L523 were not covered by tests

Check warning on line 530 in pkg/meta/redisdb/redis.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/meta/redisdb/redis.go#L526-L530

Added lines #L526 - L530 were not covered by tests

Check warning on line 580 in pkg/meta/redisdb/redis.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/meta/redisdb/redis.go#L579-L580

Added lines #L579 - L580 were not covered by tests

Check warning on line 588 in pkg/meta/redisdb/redis.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/meta/redisdb/redis.go#L584-L588

Added lines #L584 - L588 were not covered by tests

Check warning on line 622 in pkg/meta/redisdb/redis.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/meta/redisdb/redis.go#L621-L622

Added lines #L621 - L622 were not covered by tests

Check warning on line 630 in pkg/meta/redisdb/redis.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/meta/redisdb/redis.go#L626-L630

Added lines #L626 - L630 were not covered by tests

Check warning on line 666 in pkg/meta/redisdb/redis.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/meta/redisdb/redis.go#L665-L666

Added lines #L665 - L666 were not covered by tests

Check warning on line 674 in pkg/meta/redisdb/redis.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/meta/redisdb/redis.go#L670-L674

Added lines #L670 - L674 were not covered by tests

Check warning on line 681 in pkg/meta/redisdb/redis.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/meta/redisdb/redis.go#L677-L681

Added lines #L677 - L681 were not covered by tests

Check warning on line 712 in pkg/meta/redisdb/redis.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/meta/redisdb/redis.go#L711-L712

Added lines #L711 - L712 were not covered by tests

Check warning on line 750 in pkg/meta/redisdb/redis.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/meta/redisdb/redis.go#L749-L750

Added lines #L749 - L750 were not covered by tests