Skip to content
This repository was archived by the owner on Feb 16, 2023. It is now read-only.

Commit 9ef11e1

Browse files
Update internals/secrethub/env_source.go
Co-authored-by: Simon Barendse <SimonBarendse@users.noreply.github.com>
1 parent ed273f9 commit 9ef11e1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

internals/secrethub/env_source.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,7 @@ func (s *secretsDirEnv) env() (map[string]value, error) {
233233
paths[envVarName] = path
234234
}
235235

236-
result := make(map[string]value, tree.SecretCount())
236+
result := make(map[string]value, len(paths))
237237
for name, path := range paths {
238238
result[name] = newSecretValue(path)
239239
}

0 commit comments

Comments
 (0)