cloudfoundry-community / logsearch-for-cloudfoundry

A Logsearch addon that customises Logsearch to work with Cloud Foundry data
Apache License 2.0
49 stars 58 forks source link

Unable to render templates for job 'cf-kibana'. Errors are: - Error filling in template 'errand.sh.erb' (line 11: Can't find link 'cloud_controller') - Error filling in template 'manifest.yml.erb' (line 18: Can't find link 'cloud_controller') #309

Closed ghost closed 5 years ago

ghost commented 5 years ago

cf-kibana: cloudfoundry: system_domain: * apps_domain: api_endpoint: ****

I have already specified the domain names in my manifest file , then why do the code in errand.sh.erb template go to the else part

Refrence code

<% system_domain = nil if_p('cf-kibana.cloudfoundry.system_domain') do |prop| system_domain = prop end.else do system_domain = link('cloud_controller').p('system_domain') end

apps_domain = nil if_p('cf-kibana.cloudfoundry.apps_domain') do |prop| apps_domain = prop end.else do apps_domain = link('cloud_controller').p('system_domain') end %>