Skip to content

Commit

Permalink
Remove unusued function
Browse files Browse the repository at this point in the history
  • Loading branch information
plkokanov committed Jun 27, 2024
1 parent 7968920 commit e149789
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions pkg/controller/infrastructure/infraflow/ensurer.go
Original file line number Diff line number Diff line change
Expand Up @@ -778,17 +778,6 @@ func (fctx *FlowContext) GetEgressIpCidrs() []string {
return nil
}

func (fctx *FlowContext) enrichStatusWithIdentity(_ context.Context, status *v1alpha1.InfrastructureStatus) error {
if identity := fctx.cfg.Identity; identity != nil {
status.Identity = &v1alpha1.IdentityStatus{
ID: *fctx.whiteboard.Get(KeyManagedIdentityId),
ClientID: *fctx.whiteboard.Get(KeyManagedIdentityClientId),
ACRAccess: identity.ACRAccess != nil && *identity.ACRAccess,
}
}
return nil
}

// DeleteResourceGroup deletes the shoot's resource group.
func (fctx *FlowContext) DeleteResourceGroup(ctx context.Context) error {
c, err := fctx.factory.Group()
Expand Down

0 comments on commit e149789

Please sign in to comment.