Skip to content

Servers::create issue #1

@Vladdy88

Description

@Vladdy88

I have tested the script and I found I little problem with it.
When I use the $creation = HetznerCloud\Servers::create($config); it returns an object with null members like in the example bellow :

object(Exploriment\HetznerCloud\Objects\ServerCreation)#105 (3) {
  ["action"]=>
  NULL
  ["server"]=>
  NULL
  ["root_password"]=>
  NULL
}

I saw that the response is returned after the command is given, and the action is still in progress. It should be modified to wait until the action is finished and send the response only after that. Otherwise I have to use after the creation the command to get the server details, but it`s not the best way in my opinion.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions