Skip to content

Commit 8dfdef3

Browse files
authored
fix(compute): migrate region 'example' to 'compute_sendgrid' (#9942)
* fix(compute): migrate old region "dependecies" to "compute_sendgrid_dependecies_java" * fix(compute): migrate region "example" to "compute_sendgrid" * fix(compute): migrate region example to compute_sendgrid
1 parent 1c7aa0b commit 8dfdef3

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

compute/sendgrid/pom.xml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,13 +37,15 @@
3737
</properties>
3838

3939
<dependencies>
40+
<!-- [START compute_sendgrid_dependencies_java] -->
4041
<!-- [START dependencies] -->
4142
<dependency>
4243
<groupId>com.sendgrid</groupId>
4344
<artifactId>sendgrid-java</artifactId>
4445
<version>4.10.1</version>
4546
</dependency>
4647
<!-- [END dependencies] -->
48+
<!-- [END compute_sendgrid_dependencies_java] -->
4749
</dependencies>
4850
<build>
4951
<plugins>

compute/sendgrid/src/main/java/com/example/compute/sendgrid/SendEmailServlet.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
import com.sendgrid.helpers.mail.objects.Email;
2626
import java.io.IOException;
2727

28+
// [START compute_sendgrid]
2829
// [START example]
2930
public class SendEmailServlet {
3031
static final String SENDGRID_API_KEY = "YOUR-SENDGRID-API-KEY";
@@ -65,3 +66,4 @@ public static void main(String[] args) throws IOException {
6566

6667
}
6768
// [END example]
69+
// [END compute_sendgrid]

0 commit comments

Comments
 (0)