diff --git a/cmd/root/root.go b/cmd/root/root.go index 310ca01ce..9f0024635 100644 --- a/cmd/root/root.go +++ b/cmd/root/root.go @@ -204,7 +204,7 @@ func uploadTelemetry(ctx context.Context, cmdStr string, startTime time.Time, ex } d := daemon.Daemon{ - Args: []string{"telemetry", "upload", fmt.Sprintf("--log-level=%s", logLevel)}, + Args: []string{"telemetry", "upload", "--log-level=" + logLevel}, Env: auth.ProcessEnv(ConfigUsed(ctx)), PidFilePath: os.Getenv(telemetry.PidFileEnvVar), LogFile: os.Getenv(telemetry.UploadLogsFileEnvVar),