Skip to content

Commit 72000a7

Browse files
authored
Update viewSecretAnnotations.js
1 parent a5087e8 commit 72000a7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

secret-manager/viewSecretAnnotations.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ async function main(name) {
2727
// Instantiates a client
2828
const client = new SecretManagerServiceClient();
2929

30-
async function getSecretAnnotations() {
30+
async function viewSecretAnnotations() {
3131
const [secret] = await client.getSecret({
3232
name: name,
3333
});
@@ -37,7 +37,7 @@ async function main(name) {
3737
}
3838
}
3939

40-
getSecretAnnotations();
40+
viewSecretAnnotations();
4141
// [END secretmanager_view_secret_annotations]
4242
}
4343

0 commit comments

Comments
 (0)