We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c1d776c commit 6181861Copy full SHA for 6181861
app/code/Magento/RemoteStorage/Driver/Adapter/MetadataProvider.php
@@ -10,7 +10,6 @@
10
use League\Flysystem\FilesystemAdapter;
11
use League\Flysystem\FilesystemException;
12
use League\Flysystem\UnableToRetrieveMetadata;
13
-use Magento\AwsS3\Driver\AwsS3;
14
use Magento\RemoteStorage\Driver\Adapter\Cache\CacheInterface;
15
16
/**
@@ -49,7 +48,7 @@ public function getMetadata(string $path): array
49
48
{
50
$metadata = $this->cache->getMetadata($path);
51
if ($metadata && is_array($metadata)
52
- && ($metadata['type'] == AwsS3::TYPE_DIR || $this->isMetadataComplete($metadata))
+ && ($metadata['type'] == 'dir' || $this->isMetadataComplete($metadata))
53
) {
54
return $metadata;
55
}
0 commit comments