mirror of
https://github.com/crazy-max/diun.git
synced 2025-12-21 13:23:09 +01:00
move imageDefaults from watch to defaults in config root
This commit is contained in:
@@ -91,7 +91,7 @@ func (c *Client) listContainerImage() []model.Image {
|
||||
Str("ctn_image", imageName).
|
||||
Interface("ctn_labels", ctn.Labels).
|
||||
Msg("Validate image")
|
||||
image, err := provider.ValidateImage(imageName, metadata(ctn), ctn.Labels, *c.config.WatchByDefault, c.imageDefaults)
|
||||
image, err := provider.ValidateImage(imageName, metadata(ctn), ctn.Labels, *c.config.WatchByDefault, c.defaults)
|
||||
|
||||
if err != nil {
|
||||
c.logger.Error().Err(err).
|
||||
|
||||
Reference in New Issue
Block a user