diff options
author | Kaushal M <kaushal@redhat.com> | 2017-10-10 18:58:35 +0530 |
---|---|---|
committer | Amar Tumballi <amarts@redhat.com> | 2017-11-29 08:50:53 +0000 |
commit | 8c4aa6a51ff441574f1620fc96dea5737e4e9878 (patch) | |
tree | 9705a83b86472791c5af686bc35738a4ef4db774 /xlators/features/changelog | |
parent | cff6cf5e01a4c643e63dae5b45b2f4eb8239664f (diff) |
features/changelog: Add default values for options
Updates #302
Change-Id: I806e42b658114b242b787491400332299dbdbf77
Signed-off-by: Amar Tumballi <amarts@redhat.com>
Diffstat (limited to 'xlators/features/changelog')
-rw-r--r-- | xlators/features/changelog/src/changelog.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/xlators/features/changelog/src/changelog.c b/xlators/features/changelog/src/changelog.c index d6d8fa01de0..ce343af0270 100644 --- a/xlators/features/changelog/src/changelog.c +++ b/xlators/features/changelog/src/changelog.c @@ -2983,12 +2983,14 @@ struct volume_options options[] = { .type = GF_OPTION_TYPE_PATH, .description = "brick path to generate unique socket file name." " should be the export directory of the volume strictly.", + .default_value = "{{ brick.path }}", .op_version = {3}, .tags = {"journal"} }, {.key = {"changelog-dir"}, .type = GF_OPTION_TYPE_PATH, .description = "directory for the changelog files", + .default_value = "{{ brick.path }}/.glusterfs/changelogs", .op_version = {3}, .flags = OPT_FLAG_SETTABLE, .tags = {"journal", "georep", "glusterfind"} |