mirror of
https://github.com/apache/jclouds.git
synced 2025-02-17 07:25:01 +00:00
Fix a test compilation error in Atmos caused by 755d51ad273
This commit is contained in:
parent
33503970bb
commit
42d57c5d15
@ -137,7 +137,7 @@ public class StubAtmosAsyncClient implements AtmosAsyncClient {
|
||||
public ListenableFuture<Void> deletePath(String path) {
|
||||
if (path.indexOf('/') == path.length() - 1) {
|
||||
// chop off the trailing slash
|
||||
return Futures.compose(blobStore.deleteContainerImpl(path.substring(0, path.length() - 1)),
|
||||
return Futures.compose(blobStore.deleteContainerIfEmpty(path.substring(0, path.length() - 1)),
|
||||
new Function<Boolean, Void>() {
|
||||
|
||||
public Void apply(Boolean from) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user