Fixed stale log refresh

Signed-off-by: TeckniX <lokitek@gmail.com>
This commit is contained in:
TeckniX 2015-06-11 20:03:14 -04:00
parent 303fe335c9
commit 7ddb9eb241
1 changed files with 3 additions and 0 deletions

View File

@ -3,6 +3,7 @@ import deepExtend from 'deep-extend';
import alt from '../alt';
import containerServerActions from '../actions/ContainerServerActions';
import containerActions from '../actions/ContainerActions';
var LogStore = require('./LogStore');
class ContainerStore {
constructor () {
@ -87,6 +88,8 @@ class ContainerStore {
if (!containers[container.Name] || containers[container.Name].State.Updating) {
return;
}
// Trigger log update
LogStore.fetch(container.Name);
containers[container.Name] = container;