Skip to content

Commit

Permalink
operator/pkg/name: remove unused map (istio#46314)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexandear authored Aug 4, 2023
1 parent 8aa7c19 commit 62bca9b
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions operator/pkg/name/name.go
Original file line number Diff line number Diff line change
Expand Up @@ -127,8 +127,6 @@ var (
AllComponentNames = append(AllCoreComponentNames, IngressComponentName, EgressComponentName,
IstioOperatorComponentName, IstioOperatorCustomResourceName)

allCoreComponentNamesMap = map[ComponentName]bool{}

// ValuesEnablementPathMap defines a mapping between legacy values enablement paths and the corresponding enablement
// paths in IstioOperator.
ValuesEnablementPathMap = map[string]string{
Expand Down Expand Up @@ -160,12 +158,6 @@ type Manifest struct {
// ManifestMap is a map of ComponentName to its manifest string.
type ManifestMap map[ComponentName][]string

func init() {
for _, c := range AllCoreComponentNames {
allCoreComponentNamesMap[c] = true
}
}

// Consolidated returns a representation of mm where all manifests in the slice under a key are combined into a single
// manifest.
func (mm ManifestMap) Consolidated() map[string]string {
Expand Down

0 comments on commit 62bca9b

Please sign in to comment.