forked from p15670423/monkey
Remove unused `_instance_id`, `region`, `_get_instance_id()`, and `_get_region()` from `monkey_island/cc/environment/aws.py`
This commit is contained in:
parent
380afa675a
commit
8c97f32fbc
|
@ -11,14 +11,6 @@ class AwsEnvironment(Environment):
|
||||||
super(AwsEnvironment, self).__init__(config)
|
super(AwsEnvironment, self).__init__(config)
|
||||||
# Not suppressing error here on purpose. This is critical if we're on AWS env.
|
# Not suppressing error here on purpose. This is critical if we're on AWS env.
|
||||||
self.aws_info = AwsInstance()
|
self.aws_info = AwsInstance()
|
||||||
self._instance_id = self._get_instance_id()
|
|
||||||
self.region = self._get_region()
|
|
||||||
|
|
||||||
def _get_instance_id(self):
|
|
||||||
return self.aws_info.get_instance_id()
|
|
||||||
|
|
||||||
def _get_region(self):
|
|
||||||
return self.aws_info.get_region()
|
|
||||||
|
|
||||||
def get_auth_users(self):
|
def get_auth_users(self):
|
||||||
if self._is_registered():
|
if self._is_registered():
|
||||||
|
|
Loading…
Reference in New Issue