We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 82efc90 commit 613b597Copy full SHA for 613b597
src/Compute/v2/Models/Host.php
@@ -22,6 +22,8 @@ class Host extends OperatorResource implements
22
Retrievable,
23
Listable
24
{
25
+ use HasWaiterTrait;
26
+
27
/** @var string */
28
public $id;
29
@@ -37,7 +39,8 @@ class Host extends OperatorResource implements
37
39
*/
38
40
public function retrieve()
41
- $response = $this->execute($this->api->getServer(), $this->getAttrs(['id']));
42
+ var_dump($this->execute($this->api->getHost(), $this->getAttrs(['name']));
43
+ $response = $this->execute($this->api->getHost(), $this->getAttrs(['name']));
44
$this->populateFromResponse($response);
45
}
46
0 commit comments