Skip to content

Commit

Permalink
remove redundant variable assignment
Browse files Browse the repository at this point in the history
  • Loading branch information
crsimmons committed Mar 17, 2022
1 parent 317119b commit 1d511e4
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions concourse/deploy.go
Original file line number Diff line number Diff line change
Expand Up @@ -134,21 +134,6 @@ func (client *Client) deployBoshAndPipeline(c config.ConfigView, tfOutputs terra
// When we are deploying for the first time rather than updating
// ensure that the pipeline is set _after_ the concourse is deployed

// TODO: Surely this can be removed as it is overriden on line 153 anyway?
bp := BoshParams{
CredhubPassword: c.GetCredhubPassword(),
CredhubAdminClientSecret: c.GetCredhubAdminClientSecret(),
CredhubCACert: c.GetCredhubCACert(),
CredhubURL: c.GetCredhubURL(),
CredhubUsername: c.GetCredhubUsername(),
ConcourseUsername: c.GetConcourseUsername(),
ConcoursePassword: c.GetConcoursePassword(),
GrafanaPassword: c.GetGrafanaPassword(),
DirectorUsername: c.GetDirectorUsername(),
DirectorPassword: c.GetDirectorPassword(),
DirectorCACert: c.GetDirectorCACert(),
}

bp, err := client.deployBosh(c, tfOutputs, false)
if err != nil {
return bp, err
Expand Down

0 comments on commit 1d511e4

Please sign in to comment.