mirror of
https://github.com/crazy-max/diun.git
synced 2025-12-25 14:59:33 +01:00
fix defaults not handled by yaml configuration
This commit is contained in:
@@ -41,7 +41,7 @@ func (c *Client) listPodImage() []model.Image {
|
||||
Str("ctn_image", ctn.Image).
|
||||
Msg("Validate image")
|
||||
|
||||
image, err := provider.ValidateImage(ctn.Image, metadata(pod, ctn), pod.Annotations, *c.config.WatchByDefault, *c.imageDefaults)
|
||||
image, err := provider.ValidateImage(ctn.Image, metadata(pod, ctn), pod.Annotations, *c.config.WatchByDefault, c.imageDefaults)
|
||||
if err != nil {
|
||||
c.logger.Error().Err(err).
|
||||
Str("pod_name", pod.Name).
|
||||
|
||||
Reference in New Issue
Block a user