From 90ef520fe3810f349fb581672d2a1314e5407de7 Mon Sep 17 00:00:00 2001 From: Christopher Fenner Date: Fri, 9 Oct 2020 11:47:06 +0200 Subject: [PATCH] switch type --- cmd/sonarExecuteScan.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/sonarExecuteScan.go b/cmd/sonarExecuteScan.go index dc451627a..7077130bf 100644 --- a/cmd/sonarExecuteScan.go +++ b/cmd/sonarExecuteScan.go @@ -87,11 +87,11 @@ func sonarExecuteScan(config sonarExecuteScanOptions, _ *telemetry.CustomData, i options: []string{}, } - influx.step_data.fields.sonar = "false" + influx.step_data.fields.sonar = false if err := runSonar(config, &client, &runner); err != nil { log.Entry().WithError(err).Fatal("Execution failed") } - influx.step_data.fields.sonar = "true" + influx.step_data.fields.sonar = true } func runSonar(config sonarExecuteScanOptions, client piperhttp.Downloader, runner command.ExecRunner) error {