Skip to content

Commit

Permalink
Removed http.enabled
Browse files Browse the repository at this point in the history
  • Loading branch information
MortenKaae authored Mar 2, 2021
1 parent 6baee4e commit e79be2e
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion hotel_elasticsearch/configuration.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ def __init__(self, cluster, config_file="/etc/elasticsearch/elasticsearch.yml"):
self['node']['roles'].append('data')
if cluster.master:
self['node']['roles'].append('master')
self['http.enabled'] = not (cluster.data and cluster.master) or (cluster.data and cluster.master)

def save(self):
"""
Expand Down

0 comments on commit e79be2e

Please sign in to comment.