mirror of
https://github.com/minio/minio-cpp.git
synced 2025-07-31 16:24:23 +03:00
fix PostPolicy bool operator condition (#137)
This commit is contained in:
@ -570,7 +570,7 @@ struct PostPolicy {
|
|||||||
|
|
||||||
~PostPolicy() = default;
|
~PostPolicy() = default;
|
||||||
|
|
||||||
explicit operator bool() const { return !bucket.empty() && !expiration_; }
|
explicit operator bool() const { return !bucket.empty() && expiration_; }
|
||||||
|
|
||||||
error::Error AddEqualsCondition(std::string element, std::string value);
|
error::Error AddEqualsCondition(std::string element, std::string value);
|
||||||
error::Error RemoveEqualsCondition(std::string element);
|
error::Error RemoveEqualsCondition(std::string element);
|
||||||
|
Reference in New Issue
Block a user