Skip to content

Commit b86a5d9

Browse files
Remove encoding on create call
1 parent f8924c5 commit b86a5d9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/RestClient.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ public function getPool(string $name): Pool
4444

4545
public function createDataset(string $volume, string $name, int $size, ?string $comment = null, string $type = Dataset::TYPE_VOLUME): Dataset
4646
{
47-
$path = urlencode("{$volume}/{$name}");
47+
$path = "{$volume}/{$name}";
4848
$response = $this->client->post('pool/dataset', [
4949
'name' => $path,
5050
'type' => Dataset::TYPE_VOLUME,

0 commit comments

Comments
 (0)