Skip to content

Commit 3aaaf5e

Browse files
committed
Cleaner retrieve function for FloatingIp class
1 parent 709def4 commit 3aaaf5e

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/Networking/v2/Extensions/Layer3/Models/FloatingIp.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,8 +70,7 @@ public function delete()
7070

7171
public function retrieve()
7272
{
73-
$response = $this->execute($this->api->getFloatingIp(),
74-
['id' => (string)$this->id]);
73+
$response = $this->executeWithState($this->api->getFloatingIp());
7574
$this->populateFromResponse($response);
7675
}
7776
}

0 commit comments

Comments
 (0)