From d9064a09a078c62aeeb7fe90ae1ce1258fe7070e Mon Sep 17 00:00:00 2001 From: Michael Sverdlov Date: Thu, 10 Oct 2024 16:22:57 +0300 Subject: [PATCH] Improve repositores code Signed-off-by: Michael Sverdlov --- artifactory/utils/repositoryutils_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/artifactory/utils/repositoryutils_test.go b/artifactory/utils/repositoryutils_test.go index a601b8012..698892d7b 100644 --- a/artifactory/utils/repositoryutils_test.go +++ b/artifactory/utils/repositoryutils_test.go @@ -26,7 +26,7 @@ func TestFilterRepositoryNames(t *testing.T) { "jfrog-npm-local", "jfrog-generic-remote", } - actualRepoNames, err := filterRepositoryNames(&repos, includePatterns, excludePatterns) + actualRepoNames, err := filterRepositoryNames(repos, includePatterns, excludePatterns) assert.NoError(t, err) assert.ElementsMatch(t, expectedRepoNames, actualRepoNames) }