k8s: changed debug log, removed unneeded stop channels, increased watch channel buffer

This commit is contained in:
yvespp 2016-11-22 22:02:51 +01:00 committed by Yves Peter
parent d1e631a487
commit 7f4eddf6d6
2 changed files with 7 additions and 13 deletions

View file

@ -78,7 +78,7 @@ func (provider *Kubernetes) Provide(configurationChan chan<- types.ConfigMessage
return err
}
if reflect.DeepEqual(provider.lastConfiguration.Get(), templateObjects) {
log.Debug("Skipping event")
log.Debugf("Skipping event from kubernetes %+v", event)
} else {
provider.lastConfiguration.Set(templateObjects)
configurationChan <- types.ConfigMessage{