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 2935722 commit ecfa73bCopy full SHA for ecfa73b
CHANGELOG.md
@@ -8,6 +8,7 @@ Updates should follow the [Keep a CHANGELOG](http://keepachangelog.com/) princip
8
9
## Added
10
- Recursion parameter for getting snapshots
11
+ - Recursion parameter for getting networks
12
13
## Fixed
14
- Cant create storage pool when sending empty config
src/Endpoint/Networks.php
@@ -16,12 +16,13 @@ protected function getEndpoint()
16
*
17
* @return array
18
*/
19
- public function all()
+ public function all($recursion = 0)
20
{
21
$networks = [];
22
23
$config = [
24
- "project"=>$this->client->getProject()
+ "project"=>$this->client->getProject(),
25
+ "recursion"=>$recursion
26
];
27
28
foreach ($this->get($this->getEndpoint(), $config) as $network) {
0 commit comments