Skip to content

Commit

Permalink
Update pkg/controllers/providers/instancetype/discoveredcapacitycache…
Browse files Browse the repository at this point in the history
…/controller.go

Co-authored-by: Jason Deal <[email protected]>
  • Loading branch information
jukie and jmdeal authored Oct 10, 2024
1 parent 7194ce6 commit be96dfa
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ func NewController(kubeClient client.Client, instancetypeProvider *instancetype.
}

func (c *Controller) Reconcile(ctx context.Context, node *corev1.Node) (reconcile.Result, error) {
ctx = injection.WithControllerName(ctx, "instancetypes.discoveredcapacitycache")
ctx = injection.WithControllerName(ctx, "providers.instancetype.capacity")
if err := c.instancetypeProvider.UpdateDiscoveredCapacityCache(ctx, c.kubeClient, node); err != nil {
return reconcile.Result{}, fmt.Errorf("updating discovered capacity cache, %w", err)
}
Expand Down

0 comments on commit be96dfa

Please sign in to comment.