Skip to content

Commit

Permalink
Revert "samples: update getSecret sample to include version (#311)" (#…
Browse files Browse the repository at this point in the history
…313)

This reverts commit ddf8546fa576b36c6094e73aad8181c102ff5f41.
  • Loading branch information
bcoe authored Nov 17, 2021
1 parent 305e836 commit 3635d98
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion secret-manager/getSecret.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ async function main(name = 'projects/my-project/secrets/my-secret') {
/**
* TODO(developer): Uncomment these variables before running the sample.
*/
// const name = 'projects/my-project/secrets/my-secret/versions/my-version';
// const name = 'projects/my-project/secrets/my-secret';

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

0 comments on commit 3635d98

Please sign in to comment.