diff options
| author | jannfis <jann@mistrust.net> | 2021-10-28 15:15:54 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-10-28 15:15:54 +0200 |
| commit | 195c758c2699838390684e2acac71e0ec60eff21 (patch) | |
| tree | 2d8c98d4f6bab6502d502b229cfb65db852c14dc /cmd | |
| parent | a03f31915d71ae39f1c9ac5d7d4d1501d11d158b (diff) | |
fix: Use correct registry URL for parsing pull secrets (#285)
Diffstat (limited to 'cmd')
| -rw-r--r-- | cmd/test.go | 2 |
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) } |
