Merge pull request #28806 from hashicorp/alisdair/remove-json-drift-summary
command/views: Remove unused drift summary message
This commit is contained in:
commit
52591ba5e9
|
@ -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
|
||||
|
|
|
@ -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(),
|
||||
|
|
Loading…
Reference in New Issue