From cda1884de34f3ca7c36c7670b5ce4d2635e9ca1e Mon Sep 17 00:00:00 2001 From: Christian Kellner Date: Fri, 20 Aug 2021 12:18:37 +0200 Subject: [PATCH] osbuild2: files input is a valid copy stage input Mark the `FilesInput` as valid input for the copy stage input so it can be used in the constructor helper function(s). Co-Developed-by: Achilleas Koutsou Co-Developed-by: Antonio Murdaca --- internal/osbuild2/files_input.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/internal/osbuild2/files_input.go b/internal/osbuild2/files_input.go index bb2e0e70b..93e545972 100644 --- a/internal/osbuild2/files_input.go +++ b/internal/osbuild2/files_input.go @@ -24,6 +24,9 @@ func NewFilesInputs(references FilesInputReferences) *FilesInputs { // inputs accepted by the XZ stage func (FilesInputs) isXzStageInputs() {} +// inputs accepted by the Copy stage +func (FilesInputs) isCopyStageInputs() {} + // SPECIFIC INPUT STRUCTURE type FilesInput struct {