Skip to content

Commit

Permalink
fix CustomEntityTypes
Browse files Browse the repository at this point in the history
  • Loading branch information
randmonkey committed Jul 30, 2024
1 parent fb14519 commit 39c0c90
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions internal/dataplane/kongstate/customentity.go
Original file line number Diff line number Diff line change
Expand Up @@ -232,8 +232,7 @@ func (ks *KongState) AddCustomEntity(entityType string, schema EntitySchema, e C

// CustomEntityTypes returns types of translated custom entities included in the KongState.
func (ks *KongState) CustomEntityTypes() []string {
return lo.Keys(ks.CustomEntities)
})
return lo.Keys(ks.CustomEntities)
}

// fetchEntitySchema fetches schema of an entity by its type and stores the schema in its custom entity collection
Expand Down

0 comments on commit 39c0c90

Please sign in to comment.