summaryrefslogtreecommitdiff
path: root/cmd
diff options
context:
space:
mode:
authorIshita Sequeira <46771830+ishitasequeira@users.noreply.github.com>2024-12-19 19:51:50 +0530
committerGitHub <noreply@github.com>2024-12-19 09:21:50 -0500
commit736f12f55a73d17dbedc040b4f559a2cd33bbff4 (patch)
treed7e31aba857641a20da7bffa5d9c29e3c5c230e4 /cmd
parent03203db49b047f03a8e99b26ef8554942c2513d6 (diff)
Update references of cache, env, health to use modules from registry-scanner (#972)
Signed-off-by: Ishita Sequeira <ishiseq29@gmail.com>
Diffstat (limited to 'cmd')
-rw-r--r--cmd/run.go4
-rw-r--r--cmd/run_test.go2
2 files changed, 3 insertions, 3 deletions
diff --git a/cmd/run.go b/cmd/run.go
index 4e2ba32..d96a62f 100644
--- a/cmd/run.go
+++ b/cmd/run.go
@@ -12,11 +12,11 @@ import (
"github.com/argoproj-labs/argocd-image-updater/pkg/argocd"
"github.com/argoproj-labs/argocd-image-updater/pkg/common"
- "github.com/argoproj-labs/argocd-image-updater/pkg/env"
- "github.com/argoproj-labs/argocd-image-updater/pkg/health"
"github.com/argoproj-labs/argocd-image-updater/pkg/metrics"
"github.com/argoproj-labs/argocd-image-updater/pkg/registry"
"github.com/argoproj-labs/argocd-image-updater/pkg/version"
+ "github.com/argoproj-labs/argocd-image-updater/registry-scanner/pkg/env"
+ "github.com/argoproj-labs/argocd-image-updater/registry-scanner/pkg/health"
"github.com/argoproj-labs/argocd-image-updater/registry-scanner/pkg/log"
"github.com/argoproj/argo-cd/v2/reposerver/askpass"
diff --git a/cmd/run_test.go b/cmd/run_test.go
index a9e316b..ee8af5a 100644
--- a/cmd/run_test.go
+++ b/cmd/run_test.go
@@ -6,7 +6,7 @@ import (
"github.com/stretchr/testify/assert"
- "github.com/argoproj-labs/argocd-image-updater/pkg/env"
+ "github.com/argoproj-labs/argocd-image-updater/registry-scanner/pkg/env"
)
// TestNewRunCommand tests various flags and their default values.