pkg/runtime/docker_executor.go
Method DockerExecutor.Execute
has 94 lines of code (exceeds 50 allowed). Consider refactoring. Open
Open
func (e DockerExecutor) Execute(test TestCase) TestResult {
log.Printf("DOCKER_HOST: %s \n", os.Getenv("DOCKER_HOST"))
log.Printf("DOCKER_CERT_PATH: %s \n", os.Getenv("DOCKER_CERT_PATH"))
log.Printf("DOCKER_API_VERSION: %s \n", os.Getenv("DOCKER_API_VERSION"))
Method DockerExecutor.Execute
has 5 return statements (exceeds 4 allowed). Open
Open
func (e DockerExecutor) Execute(test TestCase) TestResult {
log.Printf("DOCKER_HOST: %s \n", os.Getenv("DOCKER_HOST"))
log.Printf("DOCKER_CERT_PATH: %s \n", os.Getenv("DOCKER_CERT_PATH"))
log.Printf("DOCKER_API_VERSION: %s \n", os.Getenv("DOCKER_API_VERSION"))