chore(loops): remove loop var copy EE-7342 (#12023)

This commit is contained in:
andres-portainer
2024-07-09 12:47:34 -03:00
committed by GitHub
parent 6e7a42727a
commit 7fd1a644a6
7 changed files with 61 additions and 48 deletions

View File

@@ -87,10 +87,7 @@ func Test_NeedsEncryptionMigration(t *testing.T) {
}
for _, tc := range cases {
tc := tc
t.Run(tc.name, func(t *testing.T) {
connection := DbConnection{Path: dir}
if tc.dbname == "both" {