Skip to content

Commit 3635d98

Browse files
author
Benjamin E. Coe
authored
Revert "samples: update getSecret sample to include version (#311)" (#313)
This reverts commit ddf8546fa576b36c6094e73aad8181c102ff5f41.
1 parent 305e836 commit 3635d98

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

secret-manager/getSecret.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ async function main(name = 'projects/my-project/secrets/my-secret') {
1919
/**
2020
* TODO(developer): Uncomment these variables before running the sample.
2121
*/
22-
// const name = 'projects/my-project/secrets/my-secret/versions/my-version';
22+
// const name = 'projects/my-project/secrets/my-secret';
2323

2424
// Imports the Secret Manager library
2525
const {SecretManagerServiceClient} = require('@google-cloud/secret-manager');

0 commit comments

Comments
 (0)