Skip to content

Commit

Permalink
fix: Override OpenNebula constructor
Browse files Browse the repository at this point in the history
  • Loading branch information
sfayer committed Oct 18, 2023
1 parent d4b5450 commit fb118c5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/DIRAC/Resources/Computing/CloudProviders/OpenNebula.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,9 @@ class OpenNebula_6_0_NodeDriver(OpenNebulaNodeDriver):
# 11: Cloning Failure
}

def __new__(cls, key, secret=None, **kwargs):
return super(NodeDriver).__new__(cls)

def create_node(self, name, size, image=None, network=None, context=None,
ex_onhold=False, ex_tmpl_network=True):
tmpl_id = None
Expand Down

0 comments on commit fb118c5

Please sign in to comment.