Skip to content

Commit f350a3c

Browse files
committed
Revert debugging statements
1 parent 8b55fa6 commit f350a3c

1 file changed

Lines changed: 0 additions & 11 deletions

File tree

‎operator/controllers/execution/scans/scan_controller.go‎

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -196,14 +196,6 @@ func (r *ScanReconciler) initS3Connection() *minio.Client {
196196

197197
r.Log.Info("Using AWS IRSA ServiceAccount Bindung for S3 Authentication", "sts", stsEndpoint)
198198
creds = credentials.NewIAM(stsEndpoint)
199-
200-
// todo(@J12934) remove this
201-
val, err := creds.Get()
202-
if err != nil {
203-
r.Log.Error(err, "Failed to get credentials from AWS IRSA Mechanism...")
204-
} else {
205-
r.Log.Info("Successfully got credentials from AWS IRSA Mechanism", "val", val)
206-
}
207199
} else {
208200
creds = credentials.NewEnvMinio()
209201
}
@@ -218,9 +210,6 @@ func (r *ScanReconciler) initS3Connection() *minio.Client {
218210
panic(err)
219211
}
220212

221-
// todo(@J12934) revert this before merge
222-
minioClient.TraceOn(os.Stdout)
223-
224213
return minioClient
225214
}
226215

0 commit comments

Comments
 (0)