summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--xlators/mgmt/glusterd/src/glusterd-volgen.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/xlators/mgmt/glusterd/src/glusterd-volgen.c b/xlators/mgmt/glusterd/src/glusterd-volgen.c
index 5fbef4e445e..4b51054fa89 100644
--- a/xlators/mgmt/glusterd/src/glusterd-volgen.c
+++ b/xlators/mgmt/glusterd/src/glusterd-volgen.c
@@ -1837,8 +1837,7 @@ init_sethelp_xml_doc (xmlTextWriterPtr *writer, xmlBufferPtr *buf)
goto out;
}
- ret = xmlTextWriterStartElement(*writer,
- (xmlChar *)"volumeOptionsDefaults");
+ ret = xmlTextWriterStartElement(*writer, (xmlChar *)"options");
if (ret < 0) {
gf_log ("glusterd", GF_LOG_ERROR, "Could not create an "
"xmlElemetnt");
@@ -1864,7 +1863,7 @@ xml_add_volset_element (xmlTextWriterPtr writer, const char *name,
GF_ASSERT (name);
- ret = xmlTextWriterStartElement(writer, (xmlChar *) "volumeOption");
+ ret = xmlTextWriterStartElement(writer, (xmlChar *) "option");
if (ret < 0) {
gf_log ("glusterd", GF_LOG_ERROR, "Could not create an "
"xmlElemetnt");