mirror of
				https://github.com/steveiliop56/tinyauth.git
				synced 2025-10-30 05:35:44 +00:00 
			
		
		
		
	feat: add support for comma list in label domain check
This commit is contained in:
		| @@ -113,7 +113,7 @@ func (docker *Docker) GetLabels(id string, domain string) (types.Labels, error) | ||||
| 		} | ||||
|  | ||||
| 		// Check if the labels match the id or the domain | ||||
| 		if strings.TrimPrefix(inspect.Name, "/") == id || labels.Domain == domain { | ||||
| 		if strings.TrimPrefix(inspect.Name, "/") == id || utils.CheckFilter(labels.Domain, domain, false) { // Disable regex for now | ||||
| 			log.Debug().Str("id", inspect.ID).Msg("Found matching container") | ||||
| 			return labels, nil | ||||
| 		} | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Stavros
					Stavros