Skip to content

Modern Docker Management, Designed for Everyone

chore: fix linter

Kyle Mendell4806ee850fa7
diff --git a/backend/pkg/libarcane/podman/client_test.go b/backend/pkg/libarcane/podman/client_test.go
index cfee3e069..4c7b4f863 100644
--- a/backend/pkg/libarcane/podman/client_test.go
+++ b/backend/pkg/libarcane/podman/client_test.go
@@ -140,7 +140,8 @@ func TestClientContainerList(t *testing.T) {
assert.Equal(t, "/v4.0.0/libpod/containers/json", r.URL.Path)
assert.Equal(t, "true", r.URL.Query().Get("all"))
assert.JSONEq(t, `{"label":["PODMAN_SYSTEMD_UNIT=web.service"]}`, r.URL.Query().Get("filters"))
- _, _ = w.Write([]byte(`[{"Id":"abc","Names":["web"],"Labels":{"PODMAN_SYSTEMD_UNIT":"web.service"},"PodName":"","IsInfra":false,"Ports":[{"host_ip":"127.0.0.1","container_port":80,"host_port":8080,"range":1,"protocol":"tcp"}]}]`))
+ _, _ = w.Write([]byte(`[{"Id":"abc","Names":["web"],"Labels":{"PODMAN_SYSTEMD_UNIT":"web.service"},"PodName":"","IsInfra":false,` +
+ `"Ports":[{"host_ip":"127.0.0.1","container_port":80,"host_port":8080,"range":1,"protocol":"tcp"}]}]`))
})
containers, err := client.ContainerList(t.Context(), []string{podmantypes.SystemdUnitLabel + "=web.service"}, nil)