Merge pull request #622 from TeckniX/fix-logs

Fixed stale log refresh
This commit is contained in:
Jeffrey Morgan 2015-06-12 11:27:15 -07:00
commit 43872916d9
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;