diff --git a/connector_test.go b/connector_test.go index cb2a0ea..adc2689 100644 --- a/connector_test.go +++ b/connector_test.go @@ -58,14 +58,14 @@ func TestSimpleInOut(t *testing.T) { t.Cleanup(func() { assert.NoError(t, plugin.Close()) }) var containerInput = []byte("ping abc\n") - assert.NoErrorR[int](t)(plugin.Write(containerInput)) + _ = assert.NoErrorR[int](t)(plugin.Write(containerInput)) readBuffer := readOutputUntil(t, plugin, pongStr) // assert output is not empty assert.Equals(t, len(readBuffer) > 0, true) logger.Infof(string(readBuffer[:7])) - assert.NoErrorR[int](t)(plugin.Write(containerInput)) + _ = assert.NoErrorR[int](t)(plugin.Write(containerInput)) readBuffer = readOutputUntil(t, plugin, endStr) // assert output is not empty @@ -96,7 +96,7 @@ func TestEnv(t *testing.T) { t.Cleanup(func() { assert.NoError(t, container.Close()) }) - assert.NoErrorR[int](t)(container.Write([]byte("env\n"))) + _ = assert.NoErrorR[int](t)(container.Write([]byte("env\n"))) readBuffer := readOutputUntil(t, container, envVars) assert.GreaterThan(t, len(readBuffer), 0) diff --git a/go.mod b/go.mod index dda0c65..18b9161 100644 --- a/go.mod +++ b/go.mod @@ -3,7 +3,7 @@ module go.flow.arcalot.io/podmandeployer go 1.21 require ( - github.com/docker/docker v26.0.0+incompatible + github.com/docker/docker v26.1.2+incompatible github.com/docker/go-connections v0.5.0 go.arcalot.io/assert v1.8.0 go.arcalot.io/lang v1.1.0 @@ -15,12 +15,12 @@ require ( github.com/moby/docker-image-spec v1.3.1 // indirect github.com/opencontainers/go-digest v1.0.0 // indirect github.com/opencontainers/image-spec v1.1.0 // indirect - golang.org/x/sys v0.18.0 // indirect + golang.org/x/sys v0.20.0 // indirect gotest.tools/v3 v3.5.1 // indirect ) require ( github.com/opencontainers/selinux v1.11.0 go.arcalot.io/log/v2 v2.1.0 - go.flow.arcalot.io/pluginsdk v0.8.0 + go.flow.arcalot.io/pluginsdk v0.12.0 ) diff --git a/go.sum b/go.sum index 5846125..12ad4a2 100644 --- a/go.sum +++ b/go.sum @@ -1,5 +1,5 @@ -github.com/docker/docker v26.0.0+incompatible h1:Ng2qi+gdKADUa/VM+6b6YaY2nlZhk/lVJiKR/2bMudU= -github.com/docker/docker v26.0.0+incompatible/go.mod h1:eEKB0N0r5NX/I1kEveEz05bcu8tLC/8azJZsviup8Sk= +github.com/docker/docker v26.1.2+incompatible h1:UVX5ZOrrfTGZZYEP+ZDq3Xn9PdHNXaSYMFPDumMqG2k= +github.com/docker/docker v26.1.2+incompatible/go.mod h1:eEKB0N0r5NX/I1kEveEz05bcu8tLC/8azJZsviup8Sk= github.com/docker/go-connections v0.5.0 h1:USnMq7hx7gwdVZq1L49hLXaFtUdTADjXGp+uj1Br63c= github.com/docker/go-connections v0.5.0/go.mod h1:ov60Kzw0kKElRwhNs9UlUHAE/F9Fe6GLaXnqyDdmEXc= github.com/docker/go-units v0.5.0 h1:69rxXcBk27SvSaaxTtLh/8llcHD8vYHT7WSdRZ/jvr4= @@ -22,10 +22,10 @@ go.arcalot.io/log/v2 v2.1.0 h1:lNO931hJ82LgS6WcCFCxpLWXQXPFhOkz6PyAJ/augq4= go.arcalot.io/log/v2 v2.1.0/go.mod h1:PNWOSkkPmgS2OMlWTIlB/WqOw0yaBvDYd8ENAP80H4k= go.flow.arcalot.io/deployer v0.5.0 h1:yXYogvL3shNBEEoTx9U9CNbfxuf8777uAH5Vn3hv1Yo= go.flow.arcalot.io/deployer v0.5.0/go.mod h1:whj8wOUursCnfZCt1a7eY5hU3EyOcUG48vM4NeAe5N8= -go.flow.arcalot.io/pluginsdk v0.8.0 h1:cShsshrR17ZFLcbgi3aZvqexLttcp3JISFNqPUPuDvA= -go.flow.arcalot.io/pluginsdk v0.8.0/go.mod h1:sk7ssInR/T+Gy+RSRr+QhKqZcECFFxMyn1hPQCTZSyU= -golang.org/x/sys v0.18.0 h1:DBdB3niSjOA/O0blCZBqDefyWNYveAYMNF1Wum0DYQ4= -golang.org/x/sys v0.18.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= +go.flow.arcalot.io/pluginsdk v0.12.0 h1:NJyPMluwtljsNjEEewCeuxE2dGuAJn89KvU52o9OAvU= +go.flow.arcalot.io/pluginsdk v0.12.0/go.mod h1:7HafTRTFTYRbJ4sS/Vn0CFrHlaBpEoyOX4oNf612XJM= +golang.org/x/sys v0.20.0 h1:Od9JTbYCk261bKm4M/mw7AklTlFYIa0bIp9BgSm1S8Y= +golang.org/x/sys v0.20.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA= gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= gotest.tools/v3 v3.5.1 h1:EENdUnS3pdur5nybKYIh2Vfgc8IUNBjxDPSjtiJcOzU=