Skip to content

Commit b8d43af

Browse files
committed
Rebase on main
Signed-off-by: Fiachra Corcoran <fiachra.corcoran@est.tech>
1 parent aae0096 commit b8d43af

3 files changed

Lines changed: 11 additions & 55 deletions

File tree

go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -260,8 +260,8 @@ github.com/klauspost/compress v1.18.2 h1:iiPHWW0YrcFgpBYhsA6D1+fqHssJscY/Tm/y2Uq
260260
github.com/klauspost/compress v1.18.2/go.mod h1:R0h/fSBs8DE4ENlcrlib3PsXS61voFxhIs2DeRhCvJ4=
261261
github.com/klauspost/cpuid/v2 v2.3.0 h1:S4CRMLnYUhGeDFDqkGriYKdfoFlDnMtqTiI/sFzhA9Y=
262262
github.com/klauspost/cpuid/v2 v2.3.0/go.mod h1:hqwkgyIinND0mEev00jJYCxPNVRVXFQeu1XKlok6oO0=
263-
github.com/kptdev/kpt v1.0.0-beta.61.1 h1:NDvW+GHq2WYnx6dB9oGjrTnFuyzfu8ETWdkSlmvpOPU=
264-
github.com/kptdev/kpt v1.0.0-beta.61.1/go.mod h1:ISVhkyeOoO9f7oFHJFKVyVloaaj9v/1mKG3Ob6nCKos=
263+
github.com/kptdev/kpt v1.0.0-beta.62 h1:2IVYP+nPn4yYibUMHtWn4XFTC9KIfwGSkuLwdeK+vYo=
264+
github.com/kptdev/kpt v1.0.0-beta.62/go.mod h1:aCJRkqI2f1Q2d7McbmqXp3FWRMFyJRKpmuNhF8Xj2B4=
265265
github.com/kptdev/krm-functions-catalog/functions/go/apply-replacements v0.1.5 h1:IBYx+h8mYZ2mqfLetP6Kwzw3DwvVswk8E6Vu8BuNcyM=
266266
github.com/kptdev/krm-functions-catalog/functions/go/apply-replacements v0.1.5/go.mod h1:Wxd9xCmftcHf8b8Q3dvskY1psJ5knxBAxMZWUHD4L/I=
267267
github.com/kptdev/krm-functions-catalog/functions/go/apply-setters v0.2.2 h1:PZ4TcVzgad1OFuH4gHg4j2LKC2KXTuzfsQWil2knSlk=

pkg/task/generictaskhandler_test.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -161,8 +161,8 @@ func TestDoPrMutations(t *testing.T) {
161161
ror := func(namespace string) runneroptions.RunnerOptions {
162162
return runneroptions.RunnerOptions{
163163
ImagePullPolicy: runneroptions.IfNotPresentPull,
164-
ResolveToImage: func(_ context.Context, image string) (string, error) {
165-
return image, nil
164+
ResolveToImage: func(image string) string {
165+
return image
166166
},
167167
}
168168
}
@@ -214,8 +214,8 @@ func TestDoPrResourceMutations(t *testing.T) {
214214
ror := func(namespace string) runneroptions.RunnerOptions {
215215
return runneroptions.RunnerOptions{
216216
ImagePullPolicy: runneroptions.IfNotPresentPull,
217-
ResolveToImage: func(_ context.Context, image string) (string, error) {
218-
return image, nil
217+
ResolveToImage: func(image string) string {
218+
return image
219219
},
220220
}
221221
}

test/mockery/mocks/porch/pkg/repository/mock_PackageRevision.go

Lines changed: 5 additions & 49 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)