Skip to content

Commit

Permalink
fix default config option types
Browse files Browse the repository at this point in the history
Change-Id: I4bea0b5e12d229b0d9188e10c70996a5606aa970
Fixes: bug #1167318
  • Loading branch information
mancdaz committed Apr 10, 2013
1 parent 31789cb commit 56a49ad
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
4 changes: 2 additions & 2 deletions cinder/openstack/common/rpc/matchmaker.py
Expand Up @@ -35,10 +35,10 @@
default='/etc/nova/matchmaker_ring.json',
help='Matchmaker ring file (JSON)'),
cfg.IntOpt('matchmaker_heartbeat_freq',
default='300',
default=300,
help='Heartbeat frequency'),
cfg.IntOpt('matchmaker_heartbeat_ttl',
default='600',
default=600,
help='Heartbeat time-to-live.'),
]

Expand Down
5 changes: 3 additions & 2 deletions cinder/volume/drivers/coraid.py
Expand Up @@ -47,8 +47,9 @@
default='admin',
help='User name to connect to Coraid ESM'),
cfg.StrOpt('coraid_group',
default=False,
help='Group name of coraid_user (must have admin privilege)'),
default='admin',
help='Name of group on Coraid ESM to which coraid_user belongs'
' (must have admin privilege)'),
cfg.StrOpt('coraid_password',
default='password',
help='Password to connect to Coraid ESM'),
Expand Down

0 comments on commit 56a49ad

Please sign in to comment.