From 20036e7944548c139f0a44d7ba574807dc2ec00b Mon Sep 17 00:00:00 2001 From: Achilleas Koutsou Date: Mon, 11 Oct 2021 13:02:49 +0200 Subject: [PATCH] distro/rhel86: remove redundant rhel-86 alias Accidentally left over from copy from RHEL 8.5 --- internal/distro/rhel86/distro.go | 5 ----- 1 file changed, 5 deletions(-) diff --git a/internal/distro/rhel86/distro.go b/internal/distro/rhel86/distro.go index 746006651..72a2b1819 100644 --- a/internal/distro/rhel86/distro.go +++ b/internal/distro/rhel86/distro.go @@ -17,7 +17,6 @@ import ( ) const defaultName = "rhel-86" -const rhel86Name = "rhel-86" const osVersion = "8.6" const releaseVersion = "8" const modulePlatformID = "platform:el8" @@ -462,10 +461,6 @@ func New() distro.Distro { return newDistro(defaultName, modulePlatformID, ostreeRef) } -func NewRHEL86() distro.Distro { - return newDistro(rhel86Name, modulePlatformID, ostreeRef) -} - func NewHostDistro(name, modulePlatformID, ostreeRef string) distro.Distro { return newDistro(name, modulePlatformID, ostreeRef) }