Skip to content

Commit f9faf6a

Browse files
fafacao86jaystarshot
authored andcommitted
Fix: RedisProviderPlugin cannot be instantiated using reflection in PluginManager
1 parent 20ea3cc commit f9faf6a

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

redis-hbo-provider/src/main/java/com/facebook/presto/statistic/RedisProviderPlugin.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,11 @@ public RedisProviderPlugin(String configPath)
4141
this(initializeConfigs(configPath));
4242
}
4343

44+
public RedisProviderPlugin()
45+
{
46+
this(RedisProviderConfig.REDIS_PROPERTIES_PATH);
47+
}
48+
4449
@VisibleForTesting
4550
public RedisProviderPlugin(Map<String, String> configs)
4651
{

0 commit comments

Comments
 (0)