fix: fix docker label matching logic

This commit is contained in:
Stavros
2025-07-10 00:34:04 +03:00
parent b3dca0429f
commit 476ed6964d
5 changed files with 23 additions and 16 deletions

View File

@@ -387,7 +387,7 @@ func TestCheckFilter(t *testing.T) {
expected := true
// Test the check filter function
result := utils.CheckFilter(filter, str, false)
result := utils.CheckFilter(filter, str)
// Check if the result is equal to the expected
if result != expected {
@@ -402,7 +402,7 @@ func TestCheckFilter(t *testing.T) {
expected = true
// Test the check filter function
result = utils.CheckFilter(filter, str, true)
result = utils.CheckFilter(filter, str)
// Check if the result is equal to the expected
if result != expected {
@@ -417,7 +417,7 @@ func TestCheckFilter(t *testing.T) {
expected = true
// Test the check filter function
result = utils.CheckFilter(filter, str, false)
result = utils.CheckFilter(filter, str)
// Check if the result is equal to the expected
if result != expected {
@@ -432,7 +432,7 @@ func TestCheckFilter(t *testing.T) {
expected = false
// Test the check filter function
result = utils.CheckFilter(filter, str, true)
result = utils.CheckFilter(filter, str)
// Check if the result is equal to the expected
if result != expected {
@@ -447,7 +447,7 @@ func TestCheckFilter(t *testing.T) {
expected = false
// Test the check filter function
result = utils.CheckFilter(filter, str, false)
result = utils.CheckFilter(filter, str)
// Check if the result is equal to the expected
if result != expected {