From 0efbe0c55e894947b40a95cb0e1a5b605dc1065b Mon Sep 17 00:00:00 2001 From: Tomas Hozza Date: Wed, 16 Feb 2022 09:05:32 +0100 Subject: [PATCH] RHEL-90 beta: remove duplicate import in `pipelines.go` Signed-off-by: Tomas Hozza --- internal/distro/rhel90beta/pipelines.go | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/internal/distro/rhel90beta/pipelines.go b/internal/distro/rhel90beta/pipelines.go index 689ea9fca..311790e7d 100644 --- a/internal/distro/rhel90beta/pipelines.go +++ b/internal/distro/rhel90beta/pipelines.go @@ -9,7 +9,6 @@ import ( "github.com/osbuild/osbuild-composer/internal/common" "github.com/osbuild/osbuild-composer/internal/disk" "github.com/osbuild/osbuild-composer/internal/distro" - "github.com/osbuild/osbuild-composer/internal/osbuild2" osbuild "github.com/osbuild/osbuild-composer/internal/osbuild2" "github.com/osbuild/osbuild-composer/internal/rpmmd" ) @@ -1067,8 +1066,8 @@ func xzArchivePipeline(inputPipelineName, inputFilename, outputFilename string) // mkfsStages generates a list of org.osbuild.mkfs.* stages based on a // partition table description for a single device node -func mkfsStages(pt *disk.PartitionTable, device *osbuild.Device) []*osbuild2.Stage { - stages := make([]*osbuild2.Stage, 0, len(pt.Partitions)) +func mkfsStages(pt *disk.PartitionTable, device *osbuild.Device) []*osbuild.Stage { + stages := make([]*osbuild.Stage, 0, len(pt.Partitions)) // assume loopback device for simplicity since it's the only one currently supported // panic if the conversion fails