Merge "Removing unecessary check"

This commit is contained in:
Jenkins 2014-12-09 20:43:29 +00:00 committed by Gerrit Code Review
commit 889f5296b5

View File

@ -238,10 +238,9 @@ class StormProvider(p.ProvisioningPluginBase):
if st_master: if st_master:
port = "8080" port = "8080"
if port is not None: info['Strom'] = {
info['Strom'] = { 'Web UI': 'http://%s:%s' % (st_master.management_ip, port)
'Web UI': 'http://%s:%s' % (st_master.management_ip, port) }
}
ctx = context.ctx() ctx = context.ctx()
conductor.cluster_update(ctx, cluster, {'info': info}) conductor.cluster_update(ctx, cluster, {'info': info})