You've already forked watchtower
							
							
				mirror of
				https://github.com/containrrr/watchtower.git
				synced 2025-10-31 00:17:44 +02:00 
			
		
		
		
	move secret value "credentials" to trace log (#707)
This commit is contained in:
		| @@ -89,7 +89,8 @@ func GetBearerHeader(challenge string, img string, err error, registryAuth strin | ||||
| 	} | ||||
|  | ||||
| 	if registryAuth != "" { | ||||
| 		logrus.WithField("credentials", registryAuth).Debug("Credentials found.") | ||||
| 		logrus.Debug("Credentials found.") | ||||
| 		logrus.Tracef("Credentials: %v", registryAuth) | ||||
| 		r.Header.Add("Authorization", fmt.Sprintf("Basic %s", registryAuth)) | ||||
| 	} else { | ||||
| 		logrus.Debug("No credentials found.") | ||||
|   | ||||
		Reference in New Issue
	
	Block a user