Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • L Lens
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
    • Requirements
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • 小 白蛋
  • Lens
  • Repository
Switch branch/tag
  • lens
  • src
  • common
  • catalog-entities
  • kubernetes-cluster.ts
Find file BlameHistoryPermalink
  • Sebastian Malton's avatar
    Fix unhandled exception in visibility handler (#3291) · a301283a
    Sebastian Malton authored Jul 07, 2021
    
    
    - If an KubernetesCluster entity is being deleted then the
      catalogEntityRegistry.getById() will return undefined. This leads to
      an unhandled exception in the handler because we tried to read
      apiVersion. This commit changes it so that we get the apiVersion and
      kind from KubernetesCluster class itself
    Signed-off-by: default avatarSebastian Malton <sebastian@malton.name>
    a301283a

免费DevSecOps平台,让您的项目体验完整的DevSecOps流程,让项目更安全