update env var name to EXCLUDE_CONTAINERS #1352

This commit is contained in:
henrygd
2025-10-30 19:30:01 -04:00
parent af6bd4e505
commit 85ac2e5e9a
2 changed files with 15 additions and 25 deletions

View File

@@ -1196,7 +1196,7 @@ func TestShouldExcludeContainer(t *testing.T) {
for _, tt := range tests {
t.Run(tt.name, func(t *testing.T) {
dm := &dockerManager{
containerExclude: tt.patterns,
excludeContainers: tt.patterns,
}
result := dm.shouldExcludeContainer(tt.containerName)
assert.Equal(t, tt.expected, result)