Permalink
Browse files

Applied a fix for installer: an empty Labels map in chosenService was…

… breaking the pipeline
  • Loading branch information...
icanhazbroccoli authored and kanatohodets committed Jan 29, 2019
1 parent 478de80 commit ebed44d2cc0118cc2a40d520078c8bdbb132aa67
Showing with 3 additions and 0 deletions.
  1. +3 −0 pkg/controller/installation/installer.go
@@ -373,6 +373,9 @@ func (i *Installer) installManifests(
}

chosenService := productionLoadBalancerServices[0]
if chosenService.Labels == nil {
chosenService.Labels = make(map[string]string)
}
chosenService.Labels[shipper.LBLabel] = shipper.LBForProduction

// The second loop is meant to install all the decoded and transformed

0 comments on commit ebed44d

Please sign in to comment.