Commit 2f73fb39 authored by Kamil Trzcinski's avatar Kamil Trzcinski
Browse files

Make vet and fmt happy

parent 003ad31d
......@@ -446,7 +446,7 @@ func (s *DockerExecutor) waitForServices() {
}
}
func (s *DockerExecutor) buildServiceLinks(linksMap map[string]*docker.Container) (links[]string) {
func (s *DockerExecutor) buildServiceLinks(linksMap map[string]*docker.Container) (links []string) {
for linkName, container := range linksMap {
newContainer, err := s.client.InspectContainer(container.ID)
if err != nil {
......
......@@ -2,9 +2,9 @@ package docker
import (
"bytes"
"github.com/fsouza/go-dockerclient"
"gitlab.com/gitlab-org/gitlab-ci-multi-runner/common"
"gitlab.com/gitlab-org/gitlab-ci-multi-runner/executors"
"github.com/fsouza/go-dockerclient"
)
type DockerCommandExecutor struct {
......
......@@ -80,7 +80,6 @@ func createZipEntry(archive *zip.Writer, fileName string) error {
default:
return createZipFileEntry(archive, fh)
}
return nil
}
func CreateZipArchive(w io.Writer, fileNames []string) error {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment