Skip to content

Commit e5e5d54

Browse files
authored
Merge pull request apache#6067 from aaltay/removeprops
[BEAM-5024] Remove reference to dataflow-distribution.properties
2 parents 92be85a + bc789fb commit e5e5d54

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

runners/google-cloud-dataflow-java/src/main/java/org/apache/beam/runners/dataflow/DataflowRunnerInfo.java

+1-6
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,6 @@ public final class DataflowRunnerInfo extends ReleaseInfo {
3434

3535
private static final String APACHE_BEAM_DISTRIBUTION_PROPERTIES_PATH =
3636
"/org/apache/beam/runners/dataflow/dataflow.properties";
37-
private static final String DATAFLOW_DISTRIBUTION_PROPERTIES_PATH =
38-
"/org/apache/beam/runners/dataflow/dataflow-distribution.properties";
3937
private static final String FNAPI_ENVIRONMENT_MAJOR_VERSION_KEY =
4038
"fnapi.environment.major.version";
4139
private static final String LEGACY_ENVIRONMENT_MAJOR_VERSION_KEY =
@@ -48,10 +46,7 @@ private static class LazyInit {
4846
static {
4947
Properties properties;
5048
try {
51-
properties = load(DATAFLOW_DISTRIBUTION_PROPERTIES_PATH);
52-
if (properties == null) {
53-
properties = load(APACHE_BEAM_DISTRIBUTION_PROPERTIES_PATH);
54-
}
49+
properties = load(APACHE_BEAM_DISTRIBUTION_PROPERTIES_PATH);
5550
if (properties == null) {
5651
// Print a warning if we can not load either the Dataflow distribution properties
5752
// or the

0 commit comments

Comments
 (0)