« Previous | Next » 

Revision 6488097c


Added by Christos Stavrakakis almost 11 years ago

cyclades: Do not pass 'hotplug' if disabled

Fix passing of hotplug argument to GanetiRAPIClient, in case the
GANETI_USE_HOTPLUG is unset. If the Ganeti version does not support
hotplug, passing hotplug=False, will make the jobs fail at Ganeti opcode
validation. This commit fixes this by passing the argument, only when
the setting is set to True.


  • added
  • modified
  • copied
  • renamed
  • deleted

View differences