diff options
author | Csaba Henk <csaba@gluster.com> | 2011-04-14 16:35:00 +0000 |
---|---|---|
committer | Anand Avati <avati@gluster.com> | 2011-04-15 00:31:04 -0700 |
commit | e1be6195464836dd910e3b62f518c897dd06740d (patch) | |
tree | c7d6a4ccc6f9cb3413957194eb36b7384a92b499 /cli/src | |
parent | 066074291fad64a78923bbca06d25b5a6a5307d7 (diff) |
glusterd/volgen: refactor some things
- use macros for exported volume tunables
- introduce glusterd_volinfo_get_boolean as retrieval of boolean
optuions was a recurring pattern and became somewhat cumbersome
Also fixed illegal access to volinfo dict.
@pranith: use always the glusterd_volinfo_get* API for that purpose
so that defaults are taken to consideration.
Signed-off-by: Csaba Henk <csaba@gluster.com>
Signed-off-by: Anand Avati <avati@gluster.com>
BUG: 2757 (refactory gsync/gsyncd/syncdaemon/whatever to geo-replication)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=2757
Diffstat (limited to 'cli/src')
0 files changed, 0 insertions, 0 deletions