Skip to content

Commit

Permalink
docs: update docs-devsite.sh to use latest node-js-rad version (#1729)
Browse files Browse the repository at this point in the history
Co-authored-by: sofisl <55454395+sofisl@users.noreply.github.com>

Source-Link: googleapis/synthtool@b1ced7d
Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-nodejs:latest@sha256:0527a86c10b67742c409dc726ba9a31ec4e69b0006e3d7a49b0e6686c59cdaa9

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
Co-authored-by: danieljbruce <danieljbruce@users.noreply.github.com>
  • Loading branch information
3 people authored May 26, 2023
1 parent a552719 commit d8c5bc4
Show file tree
Hide file tree
Showing 8 changed files with 5 additions and 9 deletions.
3 changes: 2 additions & 1 deletion .github/.OwlBot.lock.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,5 @@
# limitations under the License.
docker:
image: gcr.io/cloud-devrel-public-resources/owlbot-nodejs:latest
digest: sha256:e6d785d6de3cab027f6213d95ccedab4cab3811b0d3172b78db2216faa182e32
digest: sha256:0527a86c10b67742c409dc726ba9a31ec4e69b0006e3d7a49b0e6686c59cdaa9
# created: 2023-05-24T20:32:43.844586914Z
5 changes: 3 additions & 2 deletions .kokoro/release/docs-devsite.sh

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion samples/createSubscriptionWithDeadLetterPolicy.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,6 @@ async function createSubscriptionWithDeadLetterPolicy(
console.log(
`Created subscription ${subscriptionNameOrId} with dead letter topic ${deadLetterTopicNameOrId}.`
);

console.log(
'To process dead letter messages, remember to add a subscription to your dead letter topic.'
);
Expand Down
1 change: 0 additions & 1 deletion samples/createSubscriptionWithExactlyOnceDelivery.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,6 @@ async function createSubscriptionWithExactlyOnceDelivery(
console.log(
`Created subscription ${subscriptionNameOrId} with exactly-once delivery.`
);

console.log(
'To process messages, remember to check the return value of ackWithResponse().'
);
Expand Down
1 change: 0 additions & 1 deletion samples/createSubscriptionWithOrdering.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,6 @@ async function createSubscriptionWithOrdering(
console.log(
`Created subscription ${subscriptionNameOrId} with ordering enabled.`
);

console.log(
'To process messages in order, remember to add an ordering key to your messages.'
);
Expand Down
1 change: 0 additions & 1 deletion samples/publishAvroRecords.js
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,6 @@ async function publishAvroRecords(topicNameOrId) {
console.log(`Unknown schema encoding: ${schemaEncoding}`);
break;
}

if (!dataBuffer) {
console.log(`Invalid encoding ${schemaEncoding} on the topic.`);
return;
Expand Down
1 change: 0 additions & 1 deletion samples/publishMessage.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,6 @@ async function publishMessage(topicNameOrId, data) {
console.log(`Message ${messageId} published.`);
} catch (error) {
console.error(`Received error while publishing: ${error.message}`);

process.exitCode = 1;
}
}
Expand Down
1 change: 0 additions & 1 deletion samples/publishProtobufMessages.js
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,6 @@ async function publishProtobufMessages(topicNameOrId) {
console.log(`Unknown schema encoding: ${schemaEncoding}`);
break;
}

if (!dataBuffer) {
console.log(`Invalid encoding ${schemaEncoding} on the topic.`);
return;
Expand Down

0 comments on commit d8c5bc4

Please sign in to comment.