diff --git a/.drone.yml b/.drone.yml index a26e3ae..8d111e6 100644 --- a/.drone.yml +++ b/.drone.yml @@ -31,6 +31,14 @@ steps: password: from_secret: SECRET_REGISTRY_PASSWORD + - name: deploy-container + image: hub.codefirst.iut.uca.fr/thomas.bellembois/codefirst-dockerproxy-clientdrone:latest + environment: + IMAGENAME: hub.codefirst.iut.uca.fr/bastien.ollier/lol:latest + CONTAINERNAME: container_lol + COMMAND: create + OVERWRITE: true + - name: tests image: mcr.microsoft.com/dotnet/sdk:6.0 commands: diff --git a/Sources/apiLOL/Controllers/ControllerChampions.cs b/Sources/apiLOL/Controllers/ControllerChampions.cs index b301c98..043a628 100644 --- a/Sources/apiLOL/Controllers/ControllerChampions.cs +++ b/Sources/apiLOL/Controllers/ControllerChampions.cs @@ -107,6 +107,8 @@ namespace apiLOL.Controllers [HttpDelete("{name}")] public async Task Delete(string name) { + _logger.LogInformation($"methode Delete de ControllerChampions appelée avec le paramètre name: {name}"); + try { var champ = (await data.ChampionsMgr.GetItemsByName(name, 0, 1)).First();