Skip to content

Commit

Permalink
Merge pull request #18 from LBGarber/instance-not-info
Browse files Browse the repository at this point in the history
Make instance module act less like an info module
  • Loading branch information
LBGarber authored Mar 24, 2021
2 parents 7ae791b + 4251662 commit 90b9679
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions plugins/modules/instance.py
Original file line number Diff line number Diff line change
Expand Up @@ -195,9 +195,6 @@ class LinodeInstance(LinodeModuleBase):
def __init__(self):
self.module_arg_spec = linode_instance_spec

self.required_one_of = ['state', 'label']
self.required_together = ['region', 'image', 'type']

self.results = dict(
changed=False,
actions=[],
Expand All @@ -206,9 +203,7 @@ def __init__(self):

self._instance = None

super().__init__(module_arg_spec=self.module_arg_spec,
required_one_of=self.required_one_of,
required_together=self.required_together)
super().__init__(module_arg_spec=self.module_arg_spec)

def get_instance_by_label(self, label):
"""Gets a Linode instance by label"""
Expand Down

0 comments on commit 90b9679

Please sign in to comment.