Fix logging in inventory 72/142772/2
authorFiete Ostkamp <fiete.ostkamp@telekom.de>
Tue, 16 Dec 2025 08:22:02 +0000 (09:22 +0100)
committerFiete Ostkamp <fiete.ostkamp@telekom.de>
Tue, 16 Dec 2025 08:38:54 +0000 (09:38 +0100)
commit200c2942e159e38988ce7ced5df120c82c5f7dd4
tree8fb8d1343c0654f64eb046ae909cb4cbac5a9830
parent3eba54adedbf387453fbadf6ef7ee5350191af75
Fix logging in inventory

- use logrus package for logging [0]
- fix return statements by returning errors
  and handling them in the main loop

[0] the custom log utils package calls logrus under the hood
    and the structured logging logutils provides is not used
    here anyways

Issue-ID: MULTICLOUD-1541
Change-Id: Icd39561d2e42a4dfb7bb154a1ee0fa2ab1869fa9
Signed-off-by: Fiete Ostkamp <fiete.ostkamp@telekom.de>
src/inventory/api/aaipullapi.go
src/inventory/api/aaipushapi.go
src/inventory/api/k8spluginapi.go
src/inventory/controller/main.go
src/inventory/go.mod
src/inventory/go.sum
src/inventory/utils/util.go