mirror of
https://github.com/xcat2/confluent.git
synced 2024-11-22 01:22:00 +00:00
Fix servicedata fetch
In the new framework with filehandle passing, the provided callback must accept a data argument. get_diags can't actually use it, but does have to accept a token value.
This commit is contained in:
parent
df328d6812
commit
5a81279b9d
@ -603,7 +603,7 @@ class IpmiHandler(object):
|
||||
self.output.put(msg.CreatedResource(
|
||||
'nodes/{0}/media/uploads/{1}'.format(self.node, u.name)))
|
||||
|
||||
def get_diags(self, savefile, progress):
|
||||
def get_diags(self, savefile, progress, data=None):
|
||||
return self.ipmicmd.get_diagnostic_data(
|
||||
savefile, progress=progress, autosuffix=True)
|
||||
|
||||
|
@ -468,7 +468,7 @@ class IpmiHandler(object):
|
||||
self.output.put(msg.CreatedResource(
|
||||
'nodes/{0}/media/uploads/{1}'.format(self.node, u.name)))
|
||||
|
||||
def get_diags(self, savefile, progress):
|
||||
def get_diags(self, savefile, progress, data=None):
|
||||
return self.ipmicmd.get_diagnostic_data(
|
||||
savefile, progress=progress, autosuffix=True)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user