Skip to content

Commit

Permalink
removing no-longer-used method (athena is default)
Browse files Browse the repository at this point in the history
  • Loading branch information
ryandeivert committed Apr 1, 2020
1 parent f4f7d64 commit eb2a3bd
Showing 1 changed file with 0 additions and 19 deletions.
19 changes: 0 additions & 19 deletions streamalert_cli/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,25 +57,6 @@ def clusters(self):
"""Return list of cluster configuration keys"""
return list(self.config['clusters'].keys())

def generate_athena(self):
"""Generate a base Athena config"""
if 'athena_partitioner_config' in self.config['lambda']:
LOGGER.warning('The Athena configuration already exists, skipping.')
return

athena_config_template = {
'enable_custom_metrics': False,
'timeout': '60',
'memory': '128',
'log_level': 'info',
'third_party_libraries': []
}

self.config['lambda']['athena_partitioner_config'] = athena_config_template
self.write()

LOGGER.info('Athena configuration successfully created')

def set_prefix(self, prefix):
"""Set the Org Prefix in Global settings"""
if not isinstance(prefix, str):
Expand Down

0 comments on commit eb2a3bd

Please sign in to comment.