Skip to content

Commit

Permalink
osbuild: remove unused ContainersInputs (note the *s*)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
mvo5 committed Dec 19, 2023
1 parent e6ce0c2 commit 55ede05
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions pkg/osbuild/containers_input.go
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,4 @@ func NewContainersInputForSources(containers []container.Spec) ContainersInput {
}
}

type ContainersInputs map[string]ContainersInput

func (c ContainersInputs) isStageInputs() {}
func (c ContainersInput) isStageInputs() {}

0 comments on commit 55ede05

Please sign in to comment.