From 55ede05d1eb343a80485d4af5b4a7bbb18a33678 Mon Sep 17 00:00:00 2001 From: Michael Vogt Date: Thu, 14 Dec 2023 11:37:20 +0100 Subject: [PATCH] osbuild: remove unused `ContainersInputs` (note the *s*) This commit removes the unused ContainersInputs and moves the `isStageInputs()` function to `ContainersInput` (not the missing *s* at the end). The type/function looks like an oversight, I did a `git grep` and `grep -r` accross our repos and AFAICT the type is not used. --- pkg/osbuild/containers_input.go | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/pkg/osbuild/containers_input.go b/pkg/osbuild/containers_input.go index 167df083bd..153e72bd96 100644 --- a/pkg/osbuild/containers_input.go +++ b/pkg/osbuild/containers_input.go @@ -46,6 +46,4 @@ func NewContainersInputForSources(containers []container.Spec) ContainersInput { } } -type ContainersInputs map[string]ContainersInput - -func (c ContainersInputs) isStageInputs() {} +func (c ContainersInput) isStageInputs() {}