From c2ca3c9ea47560ecd19466856dd75aad8fec7e75 Mon Sep 17 00:00:00 2001 From: Alex Aizman Date: Fri, 20 Dec 2024 21:05:15 -0500 Subject: [PATCH] etl: fix (RESTful) comment Signed-off-by: Alex Aizman --- ais/tgtetl.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ais/tgtetl.go b/ais/tgtetl.go index 5e723934e6a..77d4aab726e 100644 --- a/ais/tgtetl.go +++ b/ais/tgtetl.go @@ -97,7 +97,7 @@ func (t *target) handleETLGet(w http.ResponseWriter, r *http.Request) { return } - // /v1/etl/_objects// + // /v1/etl/_object// if apiItems[0] == apc.ETLObject { t.getObjectETL(w, r) return @@ -238,12 +238,12 @@ func etlParseObjectReq(_ http.ResponseWriter, r *http.Request) (secret string, b return } -// GET /v1/etl/_objects// +// GET /v1/etl/_object// // Handles GET requests from ETL containers (K8s Pods). // Validates the secret that was injected into a Pod during its initialization // (see boot.go `_setPodEnv`). // -// NOTE: this is an internal URL with "_objects" in its path intended to avoid +// NOTE: this is an internal URL with "_object" in its path intended to avoid // conflicts with ETL name in `/v1/elts//...` func (t *target) getObjectETL(w http.ResponseWriter, r *http.Request) { secret, bck, objName, err := etlParseObjectReq(w, r)