Skip to content

Commit

Permalink
Address formating comments
Browse files Browse the repository at this point in the history
Signed-off-by: Ruben Vargas <[email protected]>
  • Loading branch information
rubenvp8510 committed Jan 16, 2020
1 parent 93df3af commit 0bb2711
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions pkg/storage/elasticsearch.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,12 +39,10 @@ type ElasticsearchDeployment struct {
}

func (ed *ElasticsearchDeployment) injectArguments(container *corev1.Container) {
container.Args = append(container.Args,
"--es.server-urls="+elasticsearchURL)
container.Args = append(container.Args, "--es.server-urls="+elasticsearchURL)
if util.FindItem("--es.tls=", container.Args) == "" {
container.Args = append(container.Args, "--es.tls=true")
}

container.Args = append(container.Args,
"--es.tls.ca="+caPath,
"--es.tls.cert="+certPath,
Expand Down

0 comments on commit 0bb2711

Please sign in to comment.