Fix a keyward arguement error on bay-config

The bay-config command passed 'bay_uuid' keyward arguement to create
cert. It should use 'cluster_uuid' instead.

Closes-Bug: #1621131
Change-Id: I0e4aa115db3004c8244bcf6c9b74f35088d8c7e8
This commit is contained in:
Hongbin Lu
2016-09-07 10:20:05 -05:00
parent 2802587f39
commit 9fc7f15527

View File

@@ -214,7 +214,7 @@ def do_bay_config(cs, args):
raise exceptions.CommandError("Bay in status %s" % bay.status)
baymodel = cs.baymodels.get(bay.baymodel_id)
opts = {
'bay_uuid': bay.uuid,
'cluster_uuid': bay.uuid,
}
if not baymodel.tls_disabled: