diff --git a/pkg/engine/clone.go b/pkg/engine/clone.go index e6722d2..0bc32e5 100644 --- a/pkg/engine/clone.go +++ b/pkg/engine/clone.go @@ -193,7 +193,7 @@ func (m *clonePackageMutation) cloneFromGit(ctx context.Context, gitPackage *api }, nil } -func (m *clonePackageMutation) cloneFromOci(ctx context.Context, ociPackage *api.OciPackage) (repository.PackageResources, error) { +func (m *clonePackageMutation) cloneFromOci(_ context.Context, _ *api.OciPackage) (repository.PackageResources, error) { return repository.PackageResources{}, errors.New("clone from OCI is not implemented") } diff --git a/pkg/engine/patchgen.go b/pkg/engine/patchgen.go index 01a7458..b09fb01 100644 --- a/pkg/engine/patchgen.go +++ b/pkg/engine/patchgen.go @@ -128,7 +128,7 @@ func (m *applyPatchMutation) Apply(ctx context.Context, resources repository.Pac return result, &api.TaskResult{Task: m.task}, nil } -func buildPatchMutation(ctx context.Context, task *api.Task) (mutation, error) { +func buildPatchMutation(_ context.Context, task *api.Task) (mutation, error) { if task.Patch == nil { return nil, fmt.Errorf("patch not set for task of type %q", task.Type) }