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 760abde commit 5a5533eCopy full SHA for 5a5533e
src/baseclient.cc
@@ -854,11 +854,11 @@ GetBucketVersioningResponse BaseClient::GetBucketVersioning(
854
855
pugi::xpath_node text;
856
857
- if (!root.node().select_node("Status")) {
+ if (root.node().select_node("Status")) {
858
text = root.node().select_node("Status/text()");
859
response.status = (strcmp(text.node().value(), "Enabled") == 0);
860
}
861
- if (!root.node().select_node("MFADelete")) {
+ if (root.node().select_node("MFADelete")) {
862
text = root.node().select_node("MFADelete/text()");
863
response.mfa_delete = (strcmp(text.node().value(), "Enabled") == 0);
864
0 commit comments