Respond with 404 when instance not found 43/142643/4
authorFiete Ostkamp <fiete.ostkamp@telekom.de>
Thu, 4 Dec 2025 15:40:28 +0000 (16:40 +0100)
committerFiete Ostkamp <fiete.ostkamp@telekom.de>
Thu, 12 Mar 2026 06:42:13 +0000 (07:42 +0100)
commit49200e0d6c6918cbac0165eb70462fdaf24373ba
treef0015ed498367761432baca4a9686c4619fe681b
parent5357869908db78261a41f7639a7cf8619549d63b
Respond with 404 when instance not found

- respond with 404 not found on /instance/{instID} endpoint
- this replaces a 500 internal error response which is misleading

Issue-ID: MULTICLOUD-1526
Change-Id: Ibbe49cbb3c1286546f7dd1d9c24834291b14d9be
Signed-off-by: Fiete Ostkamp <fiete.ostkamp@telekom.de>
src/k8splugin/api/instancehandler.go
src/k8splugin/api/instancehandler_test.go