/** * Reboot an instance * * @param string $id * @return boolean */ public function rebootInstance($id) { $this->resetError(); try { $this->adapterResult = $this->ec2->reboot($id); } catch (Ec2Exception\RunTimeException $e) { $this->setError($e); return false; } return $this->adapterResult; }
/** * Reboot an instance * * @param string $id * @return boolean */ public function rebootInstance($id) { $this->adapterResult = $this->ec2->reboot($id); return $this->adapterResult; }