github nicholas-fedor/watchtower v1.11.2

latest releases: v1.11.8, v1.11.7, v1.11.6...
3 months ago

Overview

Watchtower v1.11.2 is a patch release that addresses excessive warning logs for non-running containers (e.g., in the created state) when no MAC address is found. This improves the user experience by reducing log noise, particularly for containers like Renovate Bot, while maintaining diagnostic capabilities for running containers.

Changes

Reduce MAC Address Warning to Debug for Non-Running Containers (PR #314)

  • Modified validateMacAddresses to log debug messages instead of warnings for non-running containers, resolving Issue #313.
  • Added container state checks using IsRunning() and State.Status to differentiate running and non-running containers.
  • Enhanced validateMacAddresses comments for improved maintainability and clarity.
  • Updated tests in container_test.go to cover running, created, and exited container states.
  • Made IsRunning() robust against nil container metadata to prevent potential panics.
  • Fixed test panics by ensuring consistent container state initialization in network configuration tests.

Full Changelog

For a complete list of changes, see the v1.11.1...v1.11.2 changelog.

Don't miss a new watchtower release

NewReleases is sending notifications on new releases.