You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 16, 2023. It is now read-only.
Copy file name to clipboardExpand all lines: internals/secrethub/env_source.go
+8-7Lines changed: 8 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -24,13 +24,12 @@ import (
24
24
)
25
25
26
26
typeerrNameCollisionstruct {
27
-
namestring
28
-
firstPathstring
29
-
secondPathstring
27
+
namestring
28
+
paths [2]string
30
29
}
31
30
32
31
func (eerrNameCollision) Error() string {
33
-
returnfmt.Sprintf("secrets at path %s and %s map to the same environment variable: %s. Rename one of the secrets or source them in a different way", e.firstPath, e.secondPath, e.name)
32
+
returnfmt.Sprintf("secrets at path %s and %s map to the same environment variable: %s. Rename one of the secrets or source them in a different way", e.paths[0], e.paths[1], e.name)
0 commit comments