Skip to content

Commit

Permalink
be sure to update logs on new props
Browse files Browse the repository at this point in the history
  • Loading branch information
matt-deboer committed Oct 31, 2017
1 parent af68dc1 commit 6716095
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pkg/ui/src/containers/WorkloadInfo.js
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,7 @@ class WorkloadInfo extends React.Component {
})
}
this.ensureResource(props)
this.watchLogs()
}

// TODO: consider removing this entirely...
Expand All @@ -188,6 +189,8 @@ class WorkloadInfo extends React.Component {
|| this.state.editor.contents !== nextProps.editor.contents
|| this.props.location !== nextProps.location
|| this.props.events !== nextProps.events
|| this.props.logPodContainers !== nextProps.logPodContainers

)
return shouldUpdate
}
Expand Down

0 comments on commit 6716095

Please sign in to comment.