From 315880fc671a69936c65803f30f2f6e33bc07e27 Mon Sep 17 00:00:00 2001 From: Steffen Vogel Date: Fri, 22 Oct 2021 14:19:31 +0200 Subject: [PATCH] The result and error fields of an IC status update received via AMQP are not used in the backend. The error field is now acutally an object, which possibly contains additional details about the error condition. Therefore I remove those fields and let the frontend handle them solely via the rawstatusupdate field. --- routes/infrastructure-component/ic_amqpmethods.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/routes/infrastructure-component/ic_amqpmethods.go b/routes/infrastructure-component/ic_amqpmethods.go index f515bcb..c5e9f62 100644 --- a/routes/infrastructure-component/ic_amqpmethods.go +++ b/routes/infrastructure-component/ic_amqpmethods.go @@ -44,8 +44,6 @@ type ICStatus struct { State string `json:"state"` Version string `json:"version"` Uptime float64 `json:"uptime"` - Result string `json:"result"` - Error string `json:"error"` ManagedBy string `json:"managed_by"` }