Skip to content

Commit 613b597

Browse files
committed
Testing
1 parent 82efc90 commit 613b597

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/Compute/v2/Models/Host.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@ class Host extends OperatorResource implements
2222
Retrievable,
2323
Listable
2424
{
25+
use HasWaiterTrait;
26+
2527
/** @var string */
2628
public $id;
2729

@@ -37,7 +39,8 @@ class Host extends OperatorResource implements
3739
*/
3840
public function retrieve()
3941
{
40-
$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']));
4144
$this->populateFromResponse($response);
4245
}
4346
}

0 commit comments

Comments
 (0)