mirror of
https://github.com/weaveworks/scope.git
synced 2026-07-27 01:01:44 +00:00
send shortcut reports on all container state changes
This got broken in cec750049f.
This commit is contained in:
@@ -373,11 +373,9 @@ func (r *registry) updateContainerState(containerID string, intendedState *strin
|
||||
}
|
||||
|
||||
// Trigger anyone watching for updates
|
||||
if err != nil {
|
||||
node := c.GetNode()
|
||||
for _, f := range r.watchers {
|
||||
f(node)
|
||||
}
|
||||
node := c.GetNode()
|
||||
for _, f := range r.watchers {
|
||||
f(node)
|
||||
}
|
||||
|
||||
// And finally, ensure we gather stats for it
|
||||
|
||||
Reference in New Issue
Block a user