Skip to content

Commit

Permalink
Merge branch 'main' into add-details-in-output
Browse files Browse the repository at this point in the history
  • Loading branch information
franknstyle authored Oct 18, 2023
2 parents 172e8ef + e5bb561 commit 2de779d
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 5 deletions.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/vmware-tanzu/sonobuoy

go 1.19
go 1.20

require (
github.com/briandowns/spinner v1.19.0
Expand Down
6 changes: 5 additions & 1 deletion pkg/client/logs.go
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,11 @@ func watchPodsToStreamLogs(client kubernetes.Interface, cfg *LogConfig, podCh ch

go func() {
for {
v := <-ch
v, ok := <-ch
if !ok {
break
}

if v.Type == watch.Added && v.Object != nil {
switch t := v.Object.(type) {
case *v1.Pod:
Expand Down
2 changes: 1 addition & 1 deletion scripts/build_funcs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ IMAGE_BRANCH=$(git rev-parse --abbrev-ref HEAD | sed 's/\///g')
GIT_REF_LONG=$(git rev-parse --verify HEAD)

BUILDMNT=/go/src/$GOTARGET
BUILD_IMAGE=golang:1.19
BUILD_IMAGE=golang:1.20
AMD_IMAGE=gcr.io/distroless/static:nonroot
ARM_IMAGE=gcr.io/distroless/static:nonroot-arm64
PPC64LE_IMAGE=gcr.io/distroless/static:nonroot-ppc64le
Expand Down
2 changes: 1 addition & 1 deletion test/integration/testImage/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.

FROM golang:1.19 AS base
FROM golang:1.20 AS base
WORKDIR /src

# Handle the go modules first to take advantage of Docker cache.
Expand Down
2 changes: 1 addition & 1 deletion test/integration/testImage/src/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/vmware-tanzu/sonobuoy/test/integration/testImage/src

go 1.19
go 1.20

require (
github.com/pkg/errors v0.8.1
Expand Down

0 comments on commit 2de779d

Please sign in to comment.