lint: unneeded fmt

This commit is contained in:
Umputun 2021-04-17 02:36:49 -05:00
parent 2b492d840a
commit 0a9051d528

View File

@ -315,7 +315,7 @@ func NewDockerClient(host, network string) DockerClient {
func (d *dockerClient) ListContainers() ([]containerInfo, error) {
// const APIVersion = "v1.41"
// resp, err := d.client.Get(fmt.Sprintf("http://localhost/%s/containers/json", APIVersion))
resp, err := d.client.Get(fmt.Sprintf("http://localhost/containers/json"))
resp, err := d.client.Get("http://localhost/containers/json")
if err != nil {
return nil, fmt.Errorf("failed connection to docker socket: %w", err)
}