fix(typo):UI and logs EE-3282 (#7063)

* fix logs and UI typos
This commit is contained in:
sunportainer
2022-06-13 14:53:51 +08:00
committed by GitHub
parent 66799a53f4
commit cb6a5fa41d
9 changed files with 22 additions and 21 deletions

View File

@@ -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 {