Skip to content

Commit

Permalink
Change debug message location
Browse files Browse the repository at this point in the history
  • Loading branch information
otterobert committed Dec 15, 2024
1 parent d05642f commit 85d8fde
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/shared/azureagent/customroles.go
Original file line number Diff line number Diff line change
Expand Up @@ -123,8 +123,8 @@ func (a *Agent) FindCustomRoleByName(ctx context.Context, scope string, name str

func (a *Agent) DeleteCustomRole(ctx context.Context, scope string, roleDefinitionID string) error {
roleScope := a.getSubscriptionScope(scope)
logrus.Debugf("Deleting custom role %s", roleDefinitionID)

logrus.Debugf("Deleting custom role %s", roleDefinitionID)
_, err := a.roleDefinitionsClient.Delete(ctx, roleScope, roleDefinitionID, nil)
if err != nil {
if azureerrors.IsNotFoundErr(err) {
Expand Down

0 comments on commit 85d8fde

Please sign in to comment.