Re-add wrongly removed function in helm plugins
Some app plugins that are based on base.BaseHelm use a function wrongly removed in I681ccb3302b8f233424bc291e08675a4dc2b10f7. Re-add the function. Closes-Bug: 1928696 Signed-off-by: Dan Voiculeasa <dan.voiculeasa@windriver.com> Change-Id: I43fe2065714cbae2eebf43469424e812b8783218
This commit is contained in:
parent
ed967ad81c
commit
82f01a8912
|
@ -318,6 +318,11 @@ class BaseHelm(object):
|
|||
]
|
||||
return formatted_monitor_ips
|
||||
|
||||
def _get_management_address(self):
|
||||
address = self._get_address_by_name(
|
||||
constants.CONTROLLER_HOSTNAME, constants.NETWORK_TYPE_MGMT)
|
||||
return address.address
|
||||
|
||||
@staticmethod
|
||||
def _format_url_address(address):
|
||||
return utils.format_url_address(address)
|
||||
|
|
Loading…
Reference in New Issue