command/views: Remove unused drift summary message

This was dead code, and there is no clear way to retrieve this
information, as we currently only derive the drift information as part
of the rendering process.
This commit is contained in:
Alisdair McDiarmid 2021-05-25 15:54:57 -04:00
parent 1c3f4fe80f
commit 953738c128
2 changed files with 0 additions and 9 deletions

View File

@ -11,7 +11,6 @@ const (
// Operation results
MessagePlannedChange MessageType = "planned_change"
MessageChangeSummary MessageType = "change_summary"
MessageDriftSummary MessageType = "drift_summary"
MessageOutputs MessageType = "outputs"
// Hook-driven messages

View File

@ -103,14 +103,6 @@ func (v *JSONView) ChangeSummary(cs *json.ChangeSummary) {
)
}
func (v *JSONView) DriftSummary(cs *json.ChangeSummary) {
v.log.Info(
cs.String(),
"type", json.MessageDriftSummary,
"changes", cs,
)
}
func (v *JSONView) Hook(h json.Hook) {
v.log.Info(
h.String(),