Skip to content

Commit

Permalink
Add addon name to some logging lines (#8200)
Browse files Browse the repository at this point in the history
Signed-off-by: Davanum Srinivas <[email protected]>
  • Loading branch information
dims authored Feb 7, 2025
1 parent 987f978 commit fbfeda6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/actions/addon/create.go
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ func (a *Manager) Create(ctx context.Context, addon *api.Addon, iamRoleCreator I
}
}

logger.Info("creating addon")
logger.Info("creating addon: %s", addon.Name)
output, err := a.eksAPI.CreateAddon(ctx, createAddonInput)
if err != nil {
var resourceInUse *ekstypes.ResourceInUseException
Expand Down Expand Up @@ -283,7 +283,7 @@ func (a *Manager) Create(ctx context.Context, addon *api.Addon, iamRoleCreator I
if waitTimeout > 0 {
return a.waitForAddonToBeActive(ctx, addon, waitTimeout)
}
logger.Info("successfully created addon")
logger.Info("successfully created addon: %s", addon.Name)
return nil
}

Expand Down

0 comments on commit fbfeda6

Please sign in to comment.