Skip to content

Commit 29b94b2

Browse files
authored
update Cloud Run region tags (GoogleCloudPlatform#4208)
Fixes #issue > It's a good idea to open an issue first for discussion. - [ ] I have followed [Sample Format Guide](https://github.com/GoogleCloudPlatform/java-docs-samples/blob/master/SAMPLE_FORMAT.md) - [ ] `pom.xml` parent set to latest `shared-configuration` - [ ] Appropriate changes to README are included in PR - [ ] API's need to be enabled to test (tell us) - [ ] Environment Variables need to be set (ask us to set them) - [ ] **Tests** pass: `mvn clean verify` **required** - [ ] **Lint** passes: `mvn -P lint checkstyle:check` **required** - [ ] **Static Analysis**: `mvn -P lint clean compile pmd:cpd-check spotbugs:check` **advisory only** - [ ] Please **merge** this PR for me once it is approved.
1 parent e415beb commit 29b94b2

File tree

3 files changed

+6
-0
lines changed

3 files changed

+6
-0
lines changed

functions/concepts/lazy-fields/src/main/java/functions/LazyFields.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
package functions;
1818

1919
// [START functions_tips_lazy_globals]
20+
// [START cloudrun_tips_global_lazy]
2021
// [START run_tips_global_lazy]
2122

2223
import com.google.cloud.functions.HttpFunction;
@@ -67,4 +68,5 @@ private static int fileWideComputation() {
6768
}
6869
}
6970
// [END run_tips_global_lazy]
71+
// [END cloudrun_tips_global_lazy]
7072
// [END functions_tips_lazy_globals]

functions/concepts/scopes/src/main/java/functions/Scopes.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
package functions;
1818

1919
// [START functions_tips_scopes]
20+
// [START cloudrun_tips_global_scope]
2021
// [START run_tips_global_scope]
2122

2223
import com.google.cloud.functions.HttpFunction;
@@ -54,4 +55,5 @@ private static int heavyComputation() {
5455
}
5556
}
5657
// [END run_tips_global_scope]
58+
// [END cloudrun_tips_global_scope]
5759
// [END functions_tips_scopes]

run/image-processing/pom.xml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ limitations under the License.
4646
<type>pom</type>
4747
<scope>import</scope>
4848
</dependency>
49+
<!-- [START cloudrun_imageproc_dep_management] -->
4950
<!-- [START run_imageproc_dep_management] -->
5051
<dependency>
5152
<groupId>org.springframework.cloud</groupId>
@@ -55,6 +56,7 @@ limitations under the License.
5556
<scope>import</scope>
5657
</dependency>
5758
<!-- [END run_imageproc_dep_management] -->
59+
<!-- [END cloudrun_imageproc_dep_management] -->
5860
</dependencies>
5961
</dependencyManagement>
6062
<dependencies>

0 commit comments

Comments
 (0)