« Previous | Next » 

Revision d1b47b16

IDd1b47b168f9729ad0ad555d6ae15d05a25290ab5

Added by Michael Hanselmann almost 12 years ago

Fix output for “gnt-job info”

If the result of an opcode was a non-empty dictionary, it
would be impossible to differenciate between input and result:

Input fields:
[…]
debug_level: 0
fields: cluster_name,master_node,volume_group_name
jobs: [[True, u'37922'], [True, u'37923'], [True, u'37924']]

Expected output:

Input fields:
[…]
debug_level: 0
fields: cluster_name,master_node,volume_group_name
Result:
jobs: [[True, u'37922'], [True, u'37923'], [True, u'37924']]

Signed-off-by: Michael Hanselmann <>
Reviewed-by: Iustin Pop <>

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences