move legacy stuff outside the job
Docker-DCO-1.1-Signed-off-by: Victor Vieux <victor.vieux@docker.com> (github: vieux)master
							parent
							
								
									f8e41303e4
								
							
						
					
					
						commit
						78bc8d7377
					
				|  | @ -59,7 +59,7 @@ func pingRegistryEndpoint(endpoint string) (bool, error) { | |||
| 	// versions of the registry
 | ||||
| 	if standalone == "" { | ||||
| 		return true, nil | ||||
| 	// Accepted values are "true" (case-insensitive) and "1".
 | ||||
| 		// Accepted values are "true" (case-insensitive) and "1".
 | ||||
| 	} else if strings.EqualFold(standalone, "true") || standalone == "1" { | ||||
| 		return true, nil | ||||
| 	} | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue