From 03f81c66f9b01cb3a3edcc87052cc2530e8117d9 Mon Sep 17 00:00:00 2001 From: pb Date: Mon, 5 May 2025 15:51:39 +0200 Subject: [PATCH] Changed name of the method to create source to be coherent with the one to create target --- controllers/admiralty.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/controllers/admiralty.go b/controllers/admiralty.go index a502672..4418d74 100644 --- a/controllers/admiralty.go +++ b/controllers/admiralty.go @@ -120,12 +120,12 @@ func (c *AdmiraltyController) GetOneTarget() { c.ServeJSON() } -// @Title CreateSource +// @Title CreateAdmiraltySource // @Description Create an Admiralty Source on remote cluster // @Param execution path string true "execution id of the workflow" // @Success 201 // @router /source/:execution [post] -func (c *AdmiraltyController) CreateSource() { +func (c *AdmiraltyController) CreateAdmiraltySource() { execution := c.Ctx.Input.Param(":execution") fmt.Println("execution :: ", execution)