Skip to content

Commit

Permalink
#53 disable cortex related feature based on the hive status
Browse files Browse the repository at this point in the history
  • Loading branch information
nadouani committed Dec 15, 2016
1 parent 8f71cdb commit 053a3dd
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions ui/app/scripts/services/VersionSrv.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,7 @@
try {
var service = cache.connectors.cortex;

// TODO check how to verify if cortex is enabled
//return service.enabled && service.servers.length;
return service.enabled;
return service.enabled && service.servers.length;
} catch (err) {
return false;
}
Expand Down

0 comments on commit 053a3dd

Please sign in to comment.