Skip to content

Commit 78af3d1

Browse files
author
Joanna Grycz
committed
Add missing await
1 parent abbb5bb commit 78af3d1

6 files changed

+6
-6
lines changed

batch/create/create_batch_custom_events.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ async function main() {
106106
console.log(JSON.stringify(response));
107107
}
108108

109-
callCreateBatchCustomEvents();
109+
await callCreateBatchCustomEvents();
110110
// [END batch_custom_events]
111111
}
112112

batch/create/create_batch_labels_allocation.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ async function main() {
114114
console.log(JSON.stringify(response));
115115
}
116116

117-
callCreateBatchLabelsAllocation();
117+
await callCreateBatchLabelsAllocation();
118118
// [END batch_labels_allocation]
119119
}
120120

batch/create/create_batch_labels_job.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ async function main() {
104104
console.log(JSON.stringify(response));
105105
}
106106

107-
callCreateBatchLabelsJob();
107+
await callCreateBatchLabelsJob();
108108
// [END batch_labels_job]
109109
}
110110

batch/create/create_batch_labels_runnable.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ async function main() {
119119
console.log(JSON.stringify(response));
120120
}
121121

122-
callCreateBatchLabelsRunnable();
122+
await callCreateBatchLabelsRunnable();
123123
// [END batch_labels_runnable]
124124
}
125125

batch/create/create_nfs_job.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ async function main() {
123123
console.log(JSON.stringify(response));
124124
}
125125

126-
callCreateBatchNfsJob();
126+
await callCreateBatchNfsJob();
127127
// [END batch_create_nfs_job]
128128
}
129129

batch/create/create_using_secret_manager.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ async function main() {
9999
console.log(JSON.stringify(response));
100100
}
101101

102-
callCreateUsingSecretManager();
102+
await callCreateUsingSecretManager();
103103
// [END batch_create_using_secret_manager]
104104
}
105105

0 commit comments

Comments
 (0)