Improve log messages for when the proxy ignores a container

- 'ignoring' could be misread as 'dropped request', so change that to
  'leaving container alone'
- more elaborate reasons
This commit is contained in:
Matthias Radestock committed 2015-08-17 16:15:45 +01:00
1 parent 8c9679b19c
commit 375af0a7b9
4 files changed
+6 -6

No files matched your search

+1 -1
View File
@@ -54,7 +54,7 @@ func (i *createContainerInterceptor) InterceptRequest(r *http.Request) error {
}
if cidrs, err := i.proxy.weaveCIDRsFromConfig(container.Config, container.HostConfig); err != nil {
Log.Infof("Ignoring container due to %s", err)
Log.Infof("Leaving container alone because %s", err)
} else {
Log.Infof("Creating container with WEAVE_CIDR \"%s\"", strings.Join(cidrs, " "))
if container.HostConfig == nil {