Skip to content

Commit

Permalink
[fixup-review-comment-1]
Browse files Browse the repository at this point in the history
  • Loading branch information
anurag4DSB committed Dec 17, 2024
1 parent 5a48f39 commit 74c0d0c
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions pkg/clients/iam/iam_client.go
Original file line number Diff line number Diff line change
Expand Up @@ -106,11 +106,6 @@ func (client *IAMClient) AttachS3WildcardInlinePolicy(ctx context.Context, userN
}

_, err := client.IAMService.PutUserPolicy(ctx, input)
// if err != nil {
// return fmt.Errorf("failed to attach inline policy to IAM user %s: %w", userName, err)
// }

// klog.InfoS("Inline policy attachment succeeded", "user", userName, "policyName", bucketName)
return err
}

Expand All @@ -121,11 +116,6 @@ func (client *IAMClient) CreateAccessKey(ctx context.Context, userName string) (
}

output, err := client.IAMService.CreateAccessKey(ctx, input)
// if err != nil {
// return nil, fmt.Errorf("failed to create access key for IAM user %s: %w", userName, err)
// }

// klog.InfoS("Access key creation succeeded", "user", userName)
return output, err
}

Expand Down

0 comments on commit 74c0d0c

Please sign in to comment.