Skip to content

Commit

Permalink
Fixing race conditions in the code base (mattermost#5966)
Browse files Browse the repository at this point in the history
* Adding initial race detector

* Remove setting of config twice

* Fixing config file watch and config reload on license save

* Fixing config file watch and config reload on license save

* Fixing build error

* Fixing locking issue

* Fixing makefile

* Fixing race in config

* Fixing race in status unit test

* Adding EE race tests

* Fixing race in cluster info

* Removing code that's isn't needed

* Fixing some more races

* Fixing govet issue
  • Loading branch information
coreyhulen authored and hmhealey committed Apr 4, 2017
1 parent 2d704cb commit 30e3b85
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/admin_console/cluster_table.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ export default class ClusterTable extends React.Component {
clusterInfo.id = Utils.localizeMessage('admin.cluster.unknown', 'unknown');
}

if (clusterInfo.is_alive) {
if (clusterInfo.is_alive > 0) {
status = (
<img
className='cluster-status'
Expand Down

0 comments on commit 30e3b85

Please sign in to comment.