Skip to content

Commit d136797

Browse files
committed
fixes
1 parent 9be3229 commit d136797

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

src/Compute/v2/Api.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -279,15 +279,15 @@ public function changeServerPassword(): array
279279
];
280280
}
281281

282-
282+
283283
public function resetServerState(): array
284284
{
285285
return [
286286
'method' => 'POST',
287287
'path' => 'servers/{id}/action',
288288
'params' => [
289289
'id' => $this->params->urlId('server'),
290-
'resetState' => $this->params->osResetState()
290+
'resetState' => $this->params->resetState()
291291
]
292292
];
293293
}

src/Compute/v2/Models/Server.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ public function changePassword(string $newPassword)
188188
*/
189189
public function resetState()
190190
{
191-
$response = $this->execute($this->api->resetServerState(), [
191+
$this->execute($this->api->resetServerState(), [
192192
'id' => $this->id,
193193
'resetState' => ['state' => 'active']
194194
]);

src/Compute/v2/Params.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ public function urlId(string $type): array
1515
]);
1616
}
1717

18-
public function osResetState(): array
18+
public function resetState(): array
1919
{
2020
return [
2121
'type' => self::OBJECT_TYPE,

0 commit comments

Comments
 (0)