Skip to content

Commit 652270a

Browse files
committed
All icons
1 parent bd12e60 commit 652270a

File tree

16 files changed

+9
-2
lines changed

16 files changed

+9
-2
lines changed

exec/java-exec/src/main/java/org/apache/drill/exec/server/rest/StorageResources.java

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -573,6 +573,13 @@ public StoragePluginModel(PluginConfigWrapper plugin, HttpServletRequest request
573573
csrfToken = WebUtils.getCsrfTokenFromHttpRequest(request);
574574
}
575575

576+
public String getCleanType() {
577+
String pluginName = type.replace("Config", "");
578+
pluginName = pluginName.replace("Plugin", "");
579+
pluginName = pluginName.replace("Storage", "");
580+
return pluginName;
581+
}
582+
576583
public String getType() {
577584
return type;
578585
}
1.45 KB
Loading
11.3 KB
Loading
9.51 KB
Loading
3.21 KB
Loading

0 commit comments

Comments
 (0)