mirror of
https://github.com/portainer/portainer.git
synced 2025-07-25 00:09:40 +02:00
parent
66799a53f4
commit
cb6a5fa41d
9 changed files with 22 additions and 21 deletions
|
@ -37,7 +37,7 @@ func parseRegToken(registry *portainer.Registry) (username, password string, err
|
|||
func EnsureRegTokenValid(dataStore dataservices.DataStore, registry *portainer.Registry) (err error) {
|
||||
if registry.Type == portainer.EcrRegistry {
|
||||
if isRegTokenValid(registry) {
|
||||
log.Println("[DEBUG] [registry, GetEcrAccessToken] [message: curretn ECR token is still valid]")
|
||||
log.Println("[DEBUG] [registry, GetEcrAccessToken] [message: current ECR token is still valid]")
|
||||
} else {
|
||||
err = doGetRegToken(dataStore, registry)
|
||||
if err != nil {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue