Skip to content

Commit dfa0734

Browse files
committed
cleanup args and nested region tags
1 parent a803543 commit dfa0734

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

bigtable/src/hello_world.php

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,11 @@
2525
// Include Google Cloud dependencies using Composer
2626
require_once __DIR__ . '/../vendor/autoload.php';
2727

28-
if (count($argv) < 3 || count($argv) > 5) {
28+
if (count($argv) != 4) {
2929
return printf("Usage: php %s PROJECT_ID INSTANCE_ID TABLE_ID" . PHP_EOL, __FILE__);
3030
}
3131
list($_, $project_id, $instance_id, $table_id) = $argv;
3232

33-
// [START bigtable_hw]
3433
// [START bigtable_hw_imports]
3534
use Google\ApiCore\ApiException;
3635
use Google\Cloud\Bigtable\Admin\V2\BigtableInstanceAdminClient;
@@ -145,5 +144,4 @@
145144
throw $e;
146145
}
147146
}
148-
// [END bigtable_hw_delete_table]
149-
// [END bigtable_hw]
147+
// [END bigtable_hw_delete_table]

0 commit comments

Comments
 (0)