Skip to content

Commit

Permalink
🦉 Updates from OwlBot post-processor
Browse files Browse the repository at this point in the history
  • Loading branch information
gcf-owl-bot[bot] committed Nov 30, 2023
1 parent 75dc17c commit d4cb0e8
Show file tree
Hide file tree
Showing 7 changed files with 0 additions and 7 deletions.
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
1 change: 0 additions & 1 deletion samples/publishWithRetrySettings.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ const {v1} = require('@google-cloud/pubsub');
const publisherClient = new v1.PublisherClient({
// optional auth parameters
});

async function publishWithRetrySettings(projectId, topicNameOrId, data) {
const formattedTopic = publisherClient.projectTopicPath(
projectId,
Expand Down

0 comments on commit d4cb0e8

Please sign in to comment.