Skip to content

Commit 07b8c74

Browse files
authored
Remove prints from delete handlers (#3147)
1 parent 6767bfa commit 07b8c74

File tree

2 files changed

+9
-12
lines changed

2 files changed

+9
-12
lines changed

README.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,15 @@ A graphical user interface for [MinIO](https://github.com/minio/minio)
1212
**Table of Contents**
1313

1414
- [MinIO Console](#minio-console)
15-
- [Install](#install)
16-
- [Build from source](#build-from-source)
17-
- [Setup](#setup)
18-
- [1. Create a user `console` using `mc`](#1-create-a-user-console-using-mc)
19-
- [2. Create a policy for `console` with admin access to all resources (for testing)](#2-create-a-policy-for-console-with-admin-access-to-all-resources-for-testing)
20-
- [3. Set the policy for the new `console` user](#3-set-the-policy-for-the-new-console-user)
21-
- [Start Console service:](#start-console-service)
22-
- [Start Console service with TLS:](#start-console-service-with-tls)
23-
- [Connect Console to a Minio using TLS and a self-signed certificate](#connect-console-to-a-minio-using-tls-and-a-self-signed-certificate)
15+
- [Install](#install)
16+
- [Build from source](#build-from-source)
17+
- [Setup](#setup)
18+
- [1. Create a user `console` using `mc`](#1-create-a-user-console-using-mc)
19+
- [2. Create a policy for `console` with admin access to all resources (for testing)](#2-create-a-policy-for-console-with-admin-access-to-all-resources-for-testing)
20+
- [3. Set the policy for the new `console` user](#3-set-the-policy-for-the-new-console-user)
21+
- [Start Console service:](#start-console-service)
22+
- [Start Console service with TLS:](#start-console-service-with-tls)
23+
- [Connect Console to a Minio using TLS and a self-signed certificate](#connect-console-to-a-minio-using-tls-and-a-self-signed-certificate)
2424
- [Contribute to console Project](#contribute-to-console-project)
2525

2626
<!-- markdown-toc end -->

restapi/user_objects.go

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -63,16 +63,13 @@ func registerObjectsHandlers(api *operations.ConsoleAPI) {
6363
})
6464
// delete object
6565
api.ObjectDeleteObjectHandler = objectApi.DeleteObjectHandlerFunc(func(params objectApi.DeleteObjectParams, session *models.Principal) middleware.Responder {
66-
fmt.Println("ObjectDeleteObjectHandler", params.Prefix)
6766
if err := getDeleteObjectResponse(session, params); err != nil {
6867
return objectApi.NewDeleteObjectDefault(err.Code).WithPayload(err.APIError)
6968
}
7069
return objectApi.NewDeleteObjectOK()
7170
})
7271
// delete multiple objects
7372
api.ObjectDeleteMultipleObjectsHandler = objectApi.DeleteMultipleObjectsHandlerFunc(func(params objectApi.DeleteMultipleObjectsParams, session *models.Principal) middleware.Responder {
74-
fmt.Println("ObjectDeleteMultipleObjectsHandler", params)
75-
7673
if err := getDeleteMultiplePathsResponse(session, params); err != nil {
7774
return objectApi.NewDeleteMultipleObjectsDefault(err.Code).WithPayload(err.APIError)
7875
}

0 commit comments

Comments
 (0)