Revision 22001b78 lib/rapi/rlib2.py

b/lib/rapi/rlib2.py
995 995

  
996 996
    """
997 997
    assert len(self.items) == 1
998
    return ({}, {
998
    return (self.request_body, {
999 999
      "instance_name": self.items[0],
1000 1000
      "ignore_failures": False,
1001 1001
      "dry_run": self.dryRun(),
......
1034 1034
    ignore_secondaries=[False|True] parameters.
1035 1035

  
1036 1036
    """
1037
    return ({}, {
1037
    return (self.request_body, {
1038 1038
      "instance_name": self.items[0],
1039 1039
      "reboot_type":
1040 1040
        self.queryargs.get("type", [constants.INSTANCE_REBOOT_HARD])[0],

Also available in: Unified diff