Skip to content

Commit 7e0ea42

Browse files
committed
appease linter
1 parent aabb12b commit 7e0ea42

File tree

2 files changed

+1
-14
lines changed

2 files changed

+1
-14
lines changed

internal/provider/cached_image_data_source.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -337,7 +337,7 @@ func (d *CachedImageDataSource) Read(ctx context.Context, req datasource.ReadReq
337337
resp.Diagnostics.Append(resp.State.Set(ctx, &data)...)
338338
}
339339

340-
// tfLogFunc is an adapter to envbuilder/log.Func
340+
// tfLogFunc is an adapter to envbuilder/log.Func.
341341
func tfLogFunc(ctx context.Context) eblog.Func {
342342
return func(level eblog.Level, format string, args ...any) {
343343
var logFn func(context.Context, string, ...map[string]interface{})

internal/provider/provider_test.go

-13
Original file line numberDiff line numberDiff line change
@@ -41,19 +41,6 @@ func testAccPreCheck(t *testing.T) {
4141
// function.
4242
}
4343

44-
// envs turns a map[string]string of envs to a slice of string in the form k1=v1,k2=v2,...
45-
func envs(m map[string]string) (ss []string) {
46-
var sb strings.Builder
47-
for k, v := range m {
48-
_, _ = sb.WriteString(k)
49-
_, _ = sb.WriteRune('=')
50-
_, _ = sb.WriteString(v)
51-
ss = append(ss, sb.String())
52-
sb.Reset()
53-
}
54-
return ss
55-
}
56-
5744
type testDependencies struct {
5845
BuilderImage string
5946
RepoDir string

0 commit comments

Comments
 (0)