File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -8,6 +8,7 @@ Updates should follow the [Keep a CHANGELOG](http://keepachangelog.com/) princip
8
8
9
9
## Added
10
10
- Recursion parameter for getting snapshots
11
+ - Recursion parameter for getting networks
11
12
12
13
## Fixed
13
14
- Cant create storage pool when sending empty config
Original file line number Diff line number Diff line change @@ -16,12 +16,13 @@ protected function getEndpoint()
16
16
*
17
17
* @return array
18
18
*/
19
- public function all ()
19
+ public function all ($ recursion = 0 )
20
20
{
21
21
$ networks = [];
22
22
23
23
$ config = [
24
- "project " =>$ this ->client ->getProject ()
24
+ "project " =>$ this ->client ->getProject (),
25
+ "recursion " =>$ recursion
25
26
];
26
27
27
28
foreach ($ this ->get ($ this ->getEndpoint (), $ config ) as $ network ) {
You can’t perform that action at this time.
0 commit comments