Skip to content

Commit e6f870d

Browse files
yhabteabjulianbrost
authored andcommitted
icinga2: Fix comments
1 parent 5c210e3 commit e6f870d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

internal/icinga2/api_responses.go

+3-3
Original file line numberDiff line numberDiff line change
@@ -191,8 +191,8 @@ type StateChange struct {
191191
// - An empty Service field indicates a host acknowledgement.
192192
// - State might be StateHost{Up,Down} for hosts or StateService{Ok,Warning,Critical,Unknown} for services.
193193
// - StateType might be StateTypeSoft or StateTypeHard.
194-
// - EventType is either set to typeAcknowledgementSet or typeAcknowledgementCleared
195-
// - Author and Comment fields are always empty when EventType is set to typeAcknowledgementCleared
194+
// - EventType is either set to typeAcknowledgementSet or typeAcknowledgementCleared.
195+
// - Author and Comment fields are always empty when EventType is set to typeAcknowledgementCleared.
196196
//
197197
// https://icinga.com/docs/icinga-2/latest/doc/12-icinga2-api/#event-stream-type-acknowledgementset
198198
// https://icinga.com/docs/icinga-2/latest/doc/12-icinga2-api/#event-stream-type-acknowledgementcleared
@@ -279,7 +279,7 @@ type Flapping struct {
279279
// ObjectCreatedDeleted represents the Icinga 2 API stream object created/deleted response.
280280
//
281281
// NOTE:
282-
// - The ObjectName field may already contain the composed name of the checkable if the ObjectType is `Service`.
282+
// - The ObjectName field already contains the composed name of the checkable if the ObjectType is `Service`.
283283
// - The EventType field indicates which event type is currently being streamed and is either
284284
// set to typeObjectCreated or typeObjectDeleted.
285285
type ObjectCreatedDeleted struct {

0 commit comments

Comments
 (0)