Skip to content

Commit

Permalink
Addressing PR comments
Browse files Browse the repository at this point in the history
  • Loading branch information
franmoore05 committed Feb 9, 2024
1 parent 99ea4a2 commit e631ede
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion Dockerfile-local
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.18-stretch as build
FROM golang:1.21.5-bullseye as build

RUN apt-get update && apt-get upgrade -y

Expand Down
2 changes: 1 addition & 1 deletion Dockerfile.local
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.21.7-bullseye as build
FROM golang:1.21.5-bullseye as build

ENV GOCACHE=/go/.go/cache GOPATH=/go/.go/path TZ=Europe/London

Expand Down
2 changes: 1 addition & 1 deletion ci/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ image_resource:
type: docker-image
source:
repository: golang
tag: 1.21.7-bullseye
tag: 1.21.5-bullseye

inputs:
- name: dp-dataset-api
Expand Down
2 changes: 1 addition & 1 deletion ci/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ image_resource:
type: docker-image
source:
repository: golang
tag: 1.21.7-bullseye
tag: 1.21.5-bullseye

inputs:
- name: dp-dataset-api
Expand Down
2 changes: 1 addition & 1 deletion ci/unit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ image_resource:
type: docker-image
source:
repository: golang
tag: 1.21.7-bullseye
tag: 1.21.5-bullseye

inputs:
- name: dp-dataset-api
Expand Down
16 changes: 8 additions & 8 deletions models/dataset_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1104,13 +1104,13 @@ func TestVersionLinksDeepCopy(t *testing.T) {
},
})

So(vl2, ShouldNotBeNil)
So(vl2.Dataset, ShouldNotBeNil)
So(vl2.Dimensions, ShouldNotBeNil)
So(vl2.Edition, ShouldNotBeNil)
So(vl2.Self, ShouldNotBeNil)
So(vl2.Spatial, ShouldNotBeNil)
So(vl2.Version, ShouldNotBeNil)
So(vl2, ShouldNotPointTo, vl)
So(vl2.Dataset, ShouldNotPointTo, vl.Dataset)
So(vl2.Dimensions, ShouldNotPointTo, vl.Dimensions)
So(vl2.Edition, ShouldNotPointTo, vl.Edition)
So(vl2.Self, ShouldNotPointTo, vl.Self)
So(vl2.Spatial, ShouldNotPointTo, vl.Spatial)
So(vl2.Version, ShouldNotPointTo, vl.Version)
})
})

Expand All @@ -1120,7 +1120,7 @@ func TestVersionLinksDeepCopy(t *testing.T) {
Convey("Then doing a deep copy of it results in a new empty VersionLinks", func() {
vl2 := vl.DeepCopy()
So(*vl2, ShouldResemble, VersionLinks{})
So(vl2, ShouldNotBeNil)
So(vl2, ShouldNotPointTo, vl)
})
})
}
Expand Down

0 comments on commit e631ede

Please sign in to comment.