grim/convey

Replace deprecated ioutil usage

5 months ago, Elliott Sales de Andrade
f2b1178f3266
Replace deprecated ioutil usage

It was deprecated in Go 1.16, but `go.mod` wants 1.17 already.

Testing Done:
Ran `go build .`

Reviewed at https://reviews.imfreedom.org/r/2868/
package podman
import (
"testing"
"github.com/stretchr/testify/assert"
)
func TestBuild(t *testing.T) {
b := &Build{
Containerfile: "Dockerfile",
Tags: []string{"foo:latest"},
}
assert.NoError(t, b.Valid())
}
func TestBuildContainerfileRequired(t *testing.T) {
b := &Build{
Tags: []string{"foo:latest"},
}
assert.ErrorIs(t, b.Valid(), ErrNoContainerfile)
}
func TestBuildTagsRequired(t *testing.T) {
b := &Build{
Containerfile: "Dockerfile",
}
assert.ErrorIs(t, b.Valid(), ErrNoTags)
}