This is an automated email from the ASF dual-hosted git repository.

sodonnell pushed a commit to branch HDDS-3816-ec
in repository https://gitbox.apache.org/repos/asf/ozone.git


The following commit(s) were added to refs/heads/HDDS-3816-ec by this push:
     new 2ef364f  HDDS-5509. EC: Add missing break in switch statement when 
requesting EC blocks (#2468)
2ef364f is described below

commit 2ef364f47be5f6e770f71ddc178e3173850a5add
Author: Stephen O'Donnell <[email protected]>
AuthorDate: Mon Aug 2 12:45:25 2021 +0100

    HDDS-5509. EC: Add missing break in switch statement when requesting EC 
blocks (#2468)
---
 .../scm/protocolPB/ScmBlockLocationProtocolClientSideTranslatorPB.java   | 1 +
 1 file changed, 1 insertion(+)

diff --git 
a/hadoop-hdds/framework/src/main/java/org/apache/hadoop/hdds/scm/protocolPB/ScmBlockLocationProtocolClientSideTranslatorPB.java
 
b/hadoop-hdds/framework/src/main/java/org/apache/hadoop/hdds/scm/protocolPB/ScmBlockLocationProtocolClientSideTranslatorPB.java
index a24b458..95479f2 100644
--- 
a/hadoop-hdds/framework/src/main/java/org/apache/hadoop/hdds/scm/protocolPB/ScmBlockLocationProtocolClientSideTranslatorPB.java
+++ 
b/hadoop-hdds/framework/src/main/java/org/apache/hadoop/hdds/scm/protocolPB/ScmBlockLocationProtocolClientSideTranslatorPB.java
@@ -174,6 +174,7 @@ public final class 
ScmBlockLocationProtocolClientSideTranslatorPB
     case EC:
       requestBuilder.setEcReplicationConfig(
           ((ECReplicationConfig)replicationConfig).toProto());
+      break;
     default:
       throw new IllegalArgumentException(
           "Unsupported replication type " + replicationConfig

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to