Revision 4a90bd4f lib/rapi/rlib2.py

b/lib/rapi/rlib2.py
1040 1040
        self.queryargs.get("type", [constants.INSTANCE_REBOOT_HARD])[0],
1041 1041
      "ignore_secondaries": bool(self._checkIntVariable("ignore_secondaries")),
1042 1042
      "dry_run": self.dryRun(),
1043
      "reason": (
1044
        constants.INSTANCE_REASON_SOURCE_RAPI,
1045
        self._checkStringVariable("reason_text",
1046
                                  default=constants.INSTANCE_REASON_REBOOT),
1047
      )
1043 1048
      })
1044 1049

  
1045 1050

  

Also available in: Unified diff