Removing push_api_data on kube-api.connected seems to be dead code

This commit is contained in:
Konstantinos Tsakalozos 2017-08-23 17:23:24 +03:00
parent 6a4203eb4b
commit 61ed067e63

View File

@ -465,15 +465,6 @@ def send_data(tls):
tls.request_server_cert(common_name, sans, certificate_name)
@when('kube-api.connected')
def push_api_data(kube_api):
''' Send configuration to remote consumer.'''
# Since all relations already have the private ip address, only
# send the port on the relation object to all consumers.
# The kubernetes api-server uses 6443 for the default secure port.
kube_api.set_api_port('6443')
@when('kubernetes-master.components.started')
def configure_cdk_addons():
''' Configure CDK addons '''