mirror of
https://github.com/pgsty/minio.git
synced 2026-08-11 00:33:28 +03:00
bucket-policy: Delete policy should remove policy properly. (#1456)
This commit is contained in:
committed by
Anand Babu (AB) Periasamy
parent
afd59c45dc
commit
ac7a7cec20
@@ -101,6 +101,9 @@ func removeBucketPolicy(bucket string) error {
|
||||
}
|
||||
return err
|
||||
}
|
||||
if err := os.Remove(bucketPolicyFile); err != nil {
|
||||
return err
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user