Skip to content

Commit 69931b2

Browse files
committed
Updating readme and changing bucketlock comamnd to be bucket-lock
1 parent 790a526 commit 69931b2

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

storage/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ This simple command-line application demonstrates how to invoke Google Cloud Sto
3535
bucket-acl Manage the ACL for Cloud Storage buckets.
3636
bucket-default-acl Manage the default ACL for Cloud Storage buckets.
3737
bucket-labels Manage Cloud Storage bucket labels
38+
bucket-lock Manage Cloud Storage bucket retention policies
3839
buckets Manage Cloud Storage buckets
3940
encryption Upload and download Cloud Storage objects with encryption
4041
object-acl Manage the ACL for Cloud Storage objects

storage/storage.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@
149149

150150

151151
// Set Bucket Lock commands
152-
$application->add(new Command('bucketlock'))
152+
$application->add(new Command('bucket-lock'))
153153
->setDescription('Manage Cloud Storage retention policies')
154154
->setHelp(<<
155155
The %command.name% command manages Cloud Storage retention policies.

storage/test/BucketLockCommandTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ public static function setUpBeforeClass()
4242
public function setUp()
4343
{
4444
$application = require __DIR__ . '/../storage.php';
45-
$this->commandTester = new CommandTester($application->get('bucketlock'));
45+
$this->commandTester = new CommandTester($application->get('bucket-lock'));
4646
$this->storage = new StorageClient();
4747
if (!self::$hasCredentials) {
4848
$this->markTestSkipped('No application credentials were found.');

0 commit comments

Comments
 (0)