File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -40,6 +40,7 @@ public function getVolumes(): array
40
40
'limit ' => $ this ->params ->limit (),
41
41
'marker ' => $ this ->params ->marker (),
42
42
'sort ' => $ this ->params ->sort (),
43
+ 'allTenants ' => $ this ->params ->allTenants (),
43
44
],
44
45
];
45
46
}
@@ -64,9 +65,8 @@ public function getVolume(): array
64
65
'method ' => 'GET ' ,
65
66
'path ' => 'volumes/{id} ' ,
66
67
'params ' => [
67
- 'id ' => $ this ->params ->idPath (),
68
- ],
69
- 'allTenants ' => $ this ->params ->allTenants (),
68
+ 'id ' => $ this ->params ->idPath ()
69
+ ]
70
70
];
71
71
}
72
72
Original file line number Diff line number Diff line change @@ -101,10 +101,10 @@ public function sortKey(): array
101
101
public function allTenants (): array
102
102
{
103
103
return [
104
- 'type ' => self ::STRING_TYPE ,
104
+ 'type ' => self ::BOOL_TYPE ,
105
105
'location ' => self ::QUERY ,
106
106
'sentAs ' => 'all_tenants ' ,
107
- 'description ' => '(Admin only) Set this to 1 to pull volumes information from all tenants. ' ,
107
+ 'description ' => '(Admin only) Set this to true to pull volume information from all tenants. ' ,
108
108
];
109
109
}
110
110
}
You can’t perform that action at this time.
0 commit comments