Closed Amit-PivotalLabs closed 9 years ago
Seems like (obviously) there should have been a check for error right after this:
renderedJobRefs, err := i.jobRenderer.RenderAndUploadFrom(manifest, jobs, stage)
if err != nil {
//RECOVER if you can or return it
}
See here:
https://github.com/cloudfoundry/bosh-init/blob/7ac660daf034bd293ed37e44c5a3a97e99624c06/installation/installer.go#L77-L78
When there's an error, the returned value is nil/empty, and accessing its 0th element panics.