You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by GitBox <gi...@apache.org> on 2021/04/10 06:02:45 UTC

[GitHub] [shardingsphere] terrymanu commented on a change in pull request #10021: Rename authority provider type from STORAGE to NATIVE

terrymanu commented on a change in pull request #10021:
URL: https://github.com/apache/shardingsphere/pull/10021#discussion_r611002567



##########
File path: shardingsphere-features/shardingsphere-authority/shardingsphere-authority-common/src/main/java/org/apache/shardingsphere/authority/algorithm/natived/NativeAuthorityProviderAlgorithm.java
##########
@@ -48,6 +48,6 @@ public void init(final Map<String, ShardingSphereMetaData> mataDataMap, final Co
     
     @Override
     public String getType() {
-        return "STORAGE";
+        return "NATIVE";

Review comment:
       The feature is provided by SPI which is dynamic.
   Enum is static variable which user can not add new type with out change original enum.




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org