Skip to content
This repository has been archived by the owner on Aug 12, 2024. It is now read-only.

Commit

Permalink
fix formatting
Browse files Browse the repository at this point in the history
Signed-off-by: everettraven <[email protected]>
  • Loading branch information
everettraven committed May 6, 2024
1 parent be8bf1b commit dcc81a5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions pkg/source/image_registry.go
Original file line number Diff line number Diff line change
Expand Up @@ -137,9 +137,9 @@ func unpackedResult(fsys fs.FS, bundle *rukpakv1alpha2.BundleDeployment, ref str
ResolvedSource: &rukpakv1alpha2.BundleSource{
Type: rukpakv1alpha2.SourceTypeImage,
Image: &rukpakv1alpha2.ImageSource{
Ref: ref,
ImagePullSecretName: bundle.Spec.Source.Image.ImagePullSecretName,
InsecureSkipTLSVerify: bundle.Spec.Source.Image.InsecureSkipTLSVerify,
Ref: ref,
ImagePullSecretName: bundle.Spec.Source.Image.ImagePullSecretName,
InsecureSkipTLSVerify: bundle.Spec.Source.Image.InsecureSkipTLSVerify,
},
},
State: StateUnpacked,
Expand Down Expand Up @@ -171,7 +171,7 @@ func unpackImage(ctx context.Context, imgRef name.Reference, unpackPath string,
_, err = archive.Apply(ctx, unpackPath, layerRc, archive.WithFilter(func(th *tar.Header) (bool, error) {
th.Uid = os.Getuid()
th.Gid = os.Getgid()
return true, nil
return true, nil
}))
if err != nil {
return fmt.Errorf("error applying layer to archive: %w", err)
Expand Down
2 changes: 1 addition & 1 deletion test/e2e/plain_provisioner_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ var _ = Describe("plain provisioner bundle", func() {
return false
}
unpackPending := meta.FindStatusCondition(bundleDeployment.Status.Conditions, rukpakv1alpha2.PhaseUnpacked)
return unpackPending != nil
return unpackPending != nil
}).Should(BeTrue())
})
})
Expand Down

0 comments on commit dcc81a5

Please sign in to comment.