Skip to content

Commit 83b159e

Browse files
committed
Recommend to use filesystem-nio2 storage backend
1 parent e7d12ca commit 83b159e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/main/java/org/gaul/s3proxy/Main.java

+3
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,9 @@ public static void main(String[] args) throws Exception {
125125
properties.putAll(System.getProperties());
126126

127127
BlobStore blobStore = createBlobStore(properties, executorService);
128+
if (blobStore.getContext().unwrap().getProviderMetadata().getId().equals("filesystem")) {
129+
logger.warn("filesystem storage backend deprecated -- please use filesystem-nio2 instead");
130+
}
128131

129132
blobStore = parseMiddlewareProperties(blobStore, executorService,
130133
properties);

0 commit comments

Comments
 (0)