From a74076a85f6316def20c4beb698f0961af512ee1 Mon Sep 17 00:00:00 2001 From: "Dylan.Liu" Date: Tue, 12 Jan 2021 14:53:14 +0800 Subject: [PATCH] =?UTF-8?q?DEC-16802=20fix:=20FineFileServer.getInstance()?= =?UTF-8?q?.getRepoConfig()=20=E6=8E=A5=E5=8F=A3=E6=8F=90=E4=BE=9B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../api/cluster/resource/FineFileServerKit.java | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 src/main/java/com/fanruan/api/cluster/resource/FineFileServerKit.java diff --git a/src/main/java/com/fanruan/api/cluster/resource/FineFileServerKit.java b/src/main/java/com/fanruan/api/cluster/resource/FineFileServerKit.java new file mode 100644 index 0000000..d2eab61 --- /dev/null +++ b/src/main/java/com/fanruan/api/cluster/resource/FineFileServerKit.java @@ -0,0 +1,17 @@ +package com.fanruan.api.cluster.resource; + +import com.fr.decision.fileserver.FineFileServer; +import com.fr.io.config.RepositoryConfig; + +/** + * @author Dylan.Liu + * @version 10.0 + * Created by Dylan.Liu on 2021/1/12 + */ +public class FineFileServerKit { + + public static T getRepoConfig() throws Exception { + return FineFileServer.getInstance().getRepoConfig(); + } + +}