Skip to content

Commit 7e12e56

Browse files
samples: fix create large object example (#431)
1 parent 939a714 commit 7e12e56

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

samples/ObjectStore/v1/objects/create_large_object.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
$service = $openstack->objectStoreV1();
1818
$container = $service->getContainer('{containerName}');
1919

20-
$object = $container->createObject([
20+
$object = $container->createLargeObject([
2121
'name' => '{objectName}',
2222
'stream' => new \GuzzleHttp\Psr7\Stream(fopen('/path/to/large_object.mov', 'r')),
2323

0 commit comments

Comments
 (0)