Skip to content

Commit

Permalink
update to go 1.19
Browse files Browse the repository at this point in the history
Signed-off-by: Emily McMullan <[email protected]>
  • Loading branch information
eemcmullan committed Nov 22, 2023
1 parent 65ce693 commit f6dd44e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ RUN microdnf -y install git &&\
FROM quay.io/konveyor/static-report as static-report

# Build the manager binary
FROM golang:1.18 as builder
FROM golang:1.19 as builder

WORKDIR /workspace
# Copy the Go Modules manifests
Expand Down
3 changes: 2 additions & 1 deletion cmd/settings.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
package cmd

import (
"errors"
"os"
"os/exec"

Expand Down Expand Up @@ -29,7 +30,7 @@ func (c *Config) Load() error {
envValue := os.Getenv("PODMAN_BIN")
if envValue == "" {
podmanPath, err := exec.LookPath("podman")
if err != nil {
if err != nil && errors.Is(err, exec.ErrDot) {
return err
}
if podmanPath != c.PodmanBinary && (podmanPath != "" || len(podmanPath) > 0) {
Expand Down

0 comments on commit f6dd44e

Please sign in to comment.