mirror of
https://github.com/minio/minio.git
synced 2025-11-13 07:11:44 -05:00
allow bucket policy to set/removed in NAS gateway (#9706)
This commit is contained in:
@@ -186,7 +186,7 @@ function testHeadObject($s3Client, $objects) {
|
||||
if (getStatusCode($result) != HTTP_OK)
|
||||
throw new Exception('headObject API failed for ' .
|
||||
$bucket . '/' . $object);
|
||||
if ($result['Metadata'] != TEST_METADATA) {
|
||||
if (strtolower($result['Metadata']) != strtolower(TEST_METADATA)) {
|
||||
throw new Exception("headObject API Metadata didn't match for " .
|
||||
$bucket . '/' . $object);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user