distro: remove unused field from distribution struct
The `distribution` struct defined in multiple distributions contained unused `imageTypes` field. Remove it to simplify code. Signed-off-by: Tomas Hozza <thozza@redhat.com>
This commit is contained in:
parent
973b4b2714
commit
b7ceec4867
5 changed files with 0 additions and 10 deletions
|
|
@ -24,7 +24,6 @@ const modulePlatformID = "platform:el9"
|
|||
|
||||
type distribution struct {
|
||||
arches map[string]architecture
|
||||
imageTypes map[string]distro.ImageType
|
||||
buildPackages []string
|
||||
}
|
||||
|
||||
|
|
@ -801,7 +800,6 @@ func New() distro.Distro {
|
|||
}
|
||||
|
||||
r := distribution{
|
||||
imageTypes: map[string]distro.ImageType{},
|
||||
buildPackages: []string{
|
||||
"dnf",
|
||||
"dosfstools",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue