summaryrefslogtreecommitdiff
path: root/cmd/test.go
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/test.go')
-rw-r--r--cmd/test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/test.go b/cmd/test.go
index 3330346..2630d43 100644
--- a/cmd/test.go
+++ b/cmd/test.go
@@ -121,7 +121,7 @@ argocd-image-updater test nginx --allow-tags '^1.19.\d+(\-.*)*$' --update-strate
if err != nil {
log.Fatalf("could not parse credential definition '%s': %v", credentials, err)
}
- creds, err = credSrc.FetchCredentials(img.RegistryURL, kubeClient)
+ creds, err = credSrc.FetchCredentials(ep.RegistryAPI, kubeClient)
if err != nil {
log.Fatalf("could not fetch credentials: %v", err)
}