From ae2c40e998231a6045111792bf7b3e8dbfc2d67a Mon Sep 17 00:00:00 2001 From: "Alexander A. Klimov" Date: Wed, 29 Jun 2022 11:56:29 +0200 Subject: [PATCH] icinga:*:state: rename state to soft_state --- pkg/icingadb/v1/state.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/icingadb/v1/state.go b/pkg/icingadb/v1/state.go index e5edede2..bad8f28c 100644 --- a/pkg/icingadb/v1/state.go +++ b/pkg/icingadb/v1/state.go @@ -33,7 +33,7 @@ type State struct { PreviousSoftState uint8 `json:"previous_soft_state"` PreviousHardState uint8 `json:"previous_hard_state"` Severity uint16 `json:"severity"` - SoftState uint8 `json:"state"` + SoftState uint8 `json:"soft_state"` StateType types.StateType `json:"state_type"` CheckTimeout float64 `json:"check_timeout"` }