Skip to content

Commit

Permalink
Deprecates 'Direct' insights facts parser filter
Browse files Browse the repository at this point in the history
  • Loading branch information
bomoko committed Feb 11, 2024
1 parent d92ce3b commit 11681c7
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 265 deletions.
100 changes: 0 additions & 100 deletions internal/handler/insightsFactsParserFilter.go

This file was deleted.

124 changes: 0 additions & 124 deletions internal/handler/insightsFactsParserFilter_test.go

This file was deleted.

2 changes: 1 addition & 1 deletion internal/handler/messaging.go
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ func preprocessIncomingMessageData(incoming *InsightsMessage) (ResourceDestinati
case "image-gz":
insights.InsightsType = Image
case "direct":
insights.InsightsType = Direct
return resource, insights, fmt.Errorf("insightsType of 'direct' is deprecated, expect 'direct.facts' - will not process")
default:
insights.InsightsType = Raw
}
Expand Down
40 changes: 0 additions & 40 deletions internal/handler/testassets/rawFactsInsightsPayload.json

This file was deleted.

0 comments on commit 11681c7

Please sign in to comment.