From 3452d8b22c0b5775c9871ab30af6223fed27e6f6 Mon Sep 17 00:00:00 2001 From: Pawel Date: Thu, 19 Oct 2023 00:59:56 -0700 Subject: [PATCH] fix linters --- rollbar/data_source_projects.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/rollbar/data_source_projects.go b/rollbar/data_source_projects.go index e09f9a45..64a87cff 100644 --- a/rollbar/data_source_projects.go +++ b/rollbar/data_source_projects.go @@ -114,7 +114,8 @@ func dataSourceProjectsRead(ctx context.Context, d *schema.ResourceData, m inter } func flattenProjects(projects []client.Project) []client.FlattenedProject { - var fps []client.FlattenedProject + var fps = make([]client.FlattenedProject, 0) + for _, p := range projects { fp := client.FlattenedProject{ ID: p.ID,