From 6624f970c00d2ec127f9338f7ac3c7983fd2b716 Mon Sep 17 00:00:00 2001 From: Kaan Kabalak Date: Fri, 21 Jul 2023 18:45:08 +0300 Subject: [PATCH] Fix spelling of 'already' across repository (#17703) --- cmd/admin-handlers-pools.go | 2 +- cmd/api-errors.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/admin-handlers-pools.go b/cmd/admin-handlers-pools.go index 00272c36d..badcc2f61 100644 --- a/cmd/admin-handlers-pools.go +++ b/cmd/admin-handlers-pools.go @@ -30,7 +30,7 @@ import ( ) var ( - errRebalanceDecommissionAlreadyRunning = errors.New("Rebalance cannot be started, decommission is aleady in progress") + errRebalanceDecommissionAlreadyRunning = errors.New("Rebalance cannot be started, decommission is already in progress") errDecommissionRebalanceAlreadyRunning = errors.New("Decommission cannot be started, rebalance is already in progress") ) diff --git a/cmd/api-errors.go b/cmd/api-errors.go index 3117d22c8..e8dd7969f 100644 --- a/cmd/api-errors.go +++ b/cmd/api-errors.go @@ -1397,7 +1397,7 @@ var errorCodes = errorCodeMap{ }, ErrAdminConfigIDPCfgNameAlreadyExists: { Code: "XMinioAdminConfigIDPCfgNameAlreadyExists", - Description: "An IDP configuration with the given name aleady exists", + Description: "An IDP configuration with the given name already exists", HTTPStatusCode: http.StatusBadRequest, }, ErrAdminConfigIDPCfgNameDoesNotExist: {